Skip to content

security: harden github actions#53

Open
m1rm wants to merge 11 commits into
archlinux-de:mainfrom
m1rm:security/harden-github-actions
Open

security: harden github actions#53
m1rm wants to merge 11 commits into
archlinux-de:mainfrom
m1rm:security/harden-github-actions

Conversation

@m1rm

@m1rm m1rm commented May 20, 2026

Copy link
Copy Markdown

No description provided.

@m1rm m1rm force-pushed the security/harden-github-actions branch from a12aef9 to 40b2afb Compare May 20, 2026 10:01
with:
token: ${{ secrets.MAINTENANCE_TOKEN }}
fetch-depth: 0
persist-credentials: false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As seen in the other repos, the update workflow seems to need the credentials in order to push the commits.

@m1rm m1rm Jun 14, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

committed a tryout with passing the maintenance token explicitly needs work. on it

@m1rm m1rm Jun 21, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

passing the token via env should fix this:

        uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 #v7.1.0
        env:
          GITHUB_TOKEN: ${{ secrets.MAINTENANCE_TOKEN }}

git describe --tags fails on my fork because the fork does not have any tags

@m1rm m1rm marked this pull request as draft June 14, 2026 16:40
@m1rm m1rm force-pushed the security/harden-github-actions branch from 5ac4152 to 9d4b1db Compare June 21, 2026 11:16
@m1rm m1rm marked this pull request as ready for review June 21, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants