Skip to content

Commit

Permalink
Update Github token
Browse files Browse the repository at this point in the history
  • Loading branch information
helderbetiol committed Jan 22, 2024
1 parent 3a16234 commit 3db2eff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/versioning-release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
if: ${{ env.NEEDS_DELETE == 'true' }}
uses: dawidd6/[email protected]
with:
github_token: ${{ secrets.SVC_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
branches: ${{ env.BRANCH_RELEASE_CANDIDATE }}

- name: ⌛ Wait for deleting branch
Expand All @@ -52,15 +52,15 @@ jobs:
- name: Create Branch release candidate from main
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.SVC_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: ${{ env.BRANCH_RELEASE_CANDIDATE }}
sha: "${{ env.MAIN_SHA }}"

- uses: actions/checkout@v4
with:
ref: ${{ env.BRANCH_RELEASE_CANDIDATE }}
token: ${{ secrets.SVC_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
clean: true
fetch-depth: "0"

Expand All @@ -72,4 +72,4 @@ jobs:
uses: ./.github/actions/utils/wait-job
with:
BRANCH: ${{ env.BRANCH_RELEASE_CANDIDATE }}
GITHUB_TOKEN: ${{ secrets.SVC_GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
6 changes: 3 additions & 3 deletions .github/workflows/versioning-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ jobs:
- name: 🆕 Create Branch release
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.SVC_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: ${{ env.BRANCH_RELEASE }}
sha: "${{ env.RELEASE_CANDIDATE_SHA }}"

- uses: actions/checkout@v4
with:
token: ${{ secrets.SVC_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ env.BRANCH_RELEASE }}
clean: true
fetch-depth: "0"
Expand All @@ -65,7 +65,7 @@ jobs:
uses: ./.github/actions/utils/wait-job
with:
BRANCH: ${{ env.BRANCH_RELEASE }}
GITHUB_TOKEN: ${{ secrets.SVC_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: 🗑️ Delete Release Candidate branch
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,4 @@ If the build workflow is triggered by a release branch, the workflow will tag OG
- TEAM_DOCKER_URL: Url of the docker registry
- TEAM_DOCKER_PASSWORD: password of the docker registry
- TEAM_DOCKER_USERNAME: username of the docker registry
- SVC_GITHUB_TOKEN: an admin github token ( required to trigger build workflow since 08/2022 )
- GITHUB_TOKEN: an admin github automatic token

0 comments on commit 3db2eff

Please sign in to comment.