Skip to content

Commit

Permalink
IBX-4741: Migration from TRAVIS_GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ibexa-yuna committed Jan 19, 2023
1 parent ecd3fa4 commit 8f3c6bf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ jobs:
- name: Set Environment
run: |
echo "BUILD_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.AUTOMATION_CLIENT_ID }}
installation_id: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
private_key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
- name: Get previous release tag based on type
id: prevrelease
uses: ibexa/version-logic-action@master
Expand All @@ -106,7 +113,7 @@ jobs:
- name: Run generator in a loop
id: generator
env:
INPUT_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
INPUT_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
INPUT_JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
run: |
cat > input.json <<'EOF'
Expand Down

0 comments on commit 8f3c6bf

Please sign in to comment.