Skip to content

Commit

Permalink
Set GH_TOKEN variable. Drop write permissions (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
  • Loading branch information
anmazzotti authored Jul 1, 2024
1 parent 3bb0b2c commit ec21b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/refresh-channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:

jobs:
refresh-channels:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -18,6 +16,8 @@ jobs:
- name: Run refresh script
run: ./refresh_channels.sh
- name: Open a new PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "do-not-use@elemental.suse.com"
git config --global user.name "GitHub Action Runner"
Expand Down

0 comments on commit ec21b73

Please sign in to comment.