-
Select Topic AreaBug BodyOIDC Auth not working due to workflow permission issueI have the following pipeline but is not running due to an error with the permissions. I found in other posts this issue is related to Fork repos and re-usable workflows, but this is not the case. permissions:
issues: write
contents: read
id-token: write
jobs:
runner-start:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
- name: Checkout
uses: actions/checkout@v4
- name: Start Runner
uses: ./.github/workflows/runner-starter
with:
instance_id: ${{ secrets.INSTANCE_ID }}
action: 'start' ERROR
Github Actions permissions configThank you for your advice here to solve this issue. |
Beta Was this translation helpful? Give feedback.
Answered by
riosje
Sep 11, 2024
Replies: 1 comment 2 replies
-
@riosje Any luck solving this issue? I am running into something similar while transferring a repo from one org to another. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes my issue was trying to pass the secret env
${{ secrets.INSTANCE_ID }}
via input in the reusable workflow.If you need to pass secrets to the reusable workflow try to use
secrets: inherit
instead.BTW, the error log shown has nothing to do with the actual error.