-
Notifications
You must be signed in to change notification settings - Fork 521
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-triageThis issue still needs to be triagedThis issue still needs to be triaged
Description
Describe the bug
I have a python script that triggers a Github Actions workflow using a Github App installation. The triggered workflow fails with the following message when trying to configure AWS credentials:
Error: Could not assume role with web identity token file: Unable to validate tags
Weirdly, when I use a PAT instead of the Github App installation I'm able to configure the credentials.
Found this similar looking issue #930 but wasn't able to solve my problem.
Any help will be greatly appreciated :)
Regression Issue
- Select this option if this issue appears to be a regression.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Expected Behavior
The action is able to configure the credentials without failing.
Current Behavior
The action fails with this error:
Error: Could not assume role with web identity token file: Unable to validate tags
Reproduction Steps
Use a Github App installation to trigger the workflow using Github's create workflow dispatch API
on:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
steps:
- name: Configure AWS credentials
uses: github-actions/configure-aws-credentials@v4
with:
aws-region: <my-region>
role-to-assume: <my-role>
role-session-name: <my-session-name>
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageThis issue still needs to be triagedThis issue still needs to be triaged
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]short issue description[/-][+]Can’t configure credentials with GitHub App[/+]