Skip to content

Commit

Permalink
Resetting back to use original fine-grained token
Browse files Browse the repository at this point in the history
Right now it has these permissions: Contents, Actions, Metadata (default, mandatory)
  • Loading branch information
MukuFlash03 committed Sep 29, 2024
1 parent 9f10f6c commit 3ce932d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/reusable_image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}

# permissions:
# contents: write

permissions: write-all

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -28,9 +23,9 @@ jobs:
with:
repository: MukuFlash03/${{ inputs.repo }}
ref: ${{ inputs.branch }}
token: ${{ secrets.GITHUB_TOKEN }}
# token: ${{ secrets.GITHUB_TOKEN }}
# token: ${{ secrets.GH_FG_REUSE }}
# token: ${{ secrets.GH_FG_PAT_TAGS }}
token: ${{ secrets.GH_FG_PAT_TAGS }}
# persist-credentials: false

- name: Fetch server image tag
Expand Down Expand Up @@ -136,7 +131,6 @@ jobs:
- name: Add, Commit, Push changes to .env file
run: |
git config --unset-all http.https://github.com/.extraheader
git config --local user.email "[email protected]"
git config --local user.name "Github Actions bot to update .env with latest tags"
echo ${{ github.actor }}
Expand Down

0 comments on commit 3ce932d

Please sign in to comment.