Skip to content

comment-integration-tests #53

comment-integration-tests

comment-integration-tests #53

# The idea with this workflow is to allow users to trigger an integration test
# run from a PR however it doesn't work because github action does not allow
# access to the github token when triggered from a PR. The workflow fails with..
# "Credentials could not be loaded, please check your action inputs: Could not load credentials from any providers"
name: comment-integration-tests
on:
pull_request_review:
types: [submitted]
jobs:
integration-tests:
if: ${{ contains(github.event.review.body, '/integration-tests') }}
uses: "./.github/workflows/integration-tests.yaml"
with:
# role generated from https://github.com/Sceptre/sceptre-aws/blob/master/config/prod/gh-oidc-sceptre-tests.yaml
role-to-assume: "arn:aws:iam::743644221192:role/gh-oidc-sceptre-tests"