Skip to content

Improve site build - #51

Merged
SuperQ merged 1 commit into
masterfrom
superq/pin_actions
Jul 14, 2026
Merged

Improve site build#51
SuperQ merged 1 commit into
masterfrom
superq/pin_actions

Conversation

@SuperQ

@SuperQ SuperQ commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
  • Pin GitHub actions for supply chain security.
  • Limit permissions for actions.
  • Switch to official GitHub Pages actions.
  • Improve on triggers.

* Pin GitHub actions for supply chain security.
* Limit permissions for actions.
* Switch to official GitHub Pages actions.
* Improve `on` triggers.

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ
SuperQ force-pushed the superq/pin_actions branch from ac94da1 to 26db1e8 Compare July 14, 2026 11:31
@SuperQ
SuperQ merged commit b2e142b into master Jul 14, 2026
1 check passed
@SuperQ
SuperQ deleted the superq/pin_actions branch July 14, 2026 11:32
@SuperQ

SuperQ commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Deploy failed with:

Error: Creating Pages deployment failed
Error: HttpError: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from gh-pages
    at /home/runner/work/_actions/actions/deploy-pages/cd2ce8fcbc39b97be8ca5fce6e763baed58fa128/node_modules/@octokit/request/dist-node/index.js:124:1
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
    at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/cd2ce8fcbc39b97be8ca5fce6e763baed58fa128/src/internal/api-client.js:125:1)
    at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/cd2ce8fcbc39b97be8ca5fce6e763baed58fa128/src/internal/deployment.js:73:1)
    at main (/home/runner/work/_actions/actions/deploy-pages/cd2ce8fcbc39b97be8ca5fce6e763baed58fa128/src/index.js:30:1)
Error: Error: Failed to create deployment (status: 400) with build version b2e142bbc7d5deb0135e8d5386c454cbbfcadf47. Request ID 2019:CD664:1DD52A6:692DB77:6A561E80 Responded with: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from gh-pages

I don't have access to the GitHub settings for the repo to debug that.

@platinummonkey

Copy link
Copy Markdown
Contributor

I'll look at this today when I'm at my computer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants