Ignore stop on remote forks.

This commit is contained in:
Nicolas Patry
2023-12-29 12:12:10 +01:00
parent d76ac20e0e
commit 4907c63ea1

View File

@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
env:
AWS_REGION: us-east-1
if: ${{ always() }} # required to stop the runner even if the error happened in the previous jobs
if: ${{ always() && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }} # required to stop the runner even if the error happened in the previous jobs
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1