Skip to content

Commit

Permalink
uses repository secret GH_TOKEN for push privileges to "main"
Browse files Browse the repository at this point in the history
  • Loading branch information
cfm authored and sssoleileraaa committed Oct 4, 2021
1 parent 6af6d9e commit 793486a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
steps:
- name: Check out securedrop-client
uses: actions/checkout@v2
with:
# Expectation: GH_TOKEN belongs to a bot user allowed to push to
# "main". By design, this token will NOT be available to forks,
# in which this workflow will fail
# (https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow).
token: ${{ secrets.GH_TOKEN }}
- name: Set Git identity
run: |
git config user.name github-actions
Expand Down

0 comments on commit 793486a

Please sign in to comment.