Skip to content

Commit

Permalink
Merge pull request #135 from marionbarker/fix-token
Browse files Browse the repository at this point in the history
fix token definition
  • Loading branch information
bjornoleh authored Apr 29, 2024
2 parents aecc223 + a357edd commit c0193cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_Open-iAPS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Check for alive branch
if: steps.workflow-permission.outputs.has_permission == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: |
if [[ "$(gh api -H "Accept: application/vnd.github+json" /repos/${{ github.repository }}/branches | jq --raw-output 'any(.name=="alive")')" == "true" ]]; then
echo "Branch 'alive' exists."
Expand Down

0 comments on commit c0193cd

Please sign in to comment.