mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
chore: fix argos workflow (#9601)
This commit is contained in:
parent
13cd6d4ffd
commit
321e674cc6
1 changed files with 1 additions and 1 deletions
2
.github/workflows/argos.yml
vendored
2
.github/workflows/argos.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
# Argos is heavy to run
|
# Argos is heavy to run
|
||||||
# We only want to trigger Argos on PRs with the 'Argos' label
|
# We only want to trigger Argos on PRs with the 'Argos' label
|
||||||
# See https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
|
# See https://stackoverflow.com/questions/62325286/run-github-actions-when-pull-requests-have-a-specific-label
|
||||||
if: ${{ github.ref_name == 'main' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }}
|
if: ${{ (github.event_name != 'pull_request' && github.ref_name == 'main') || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|
Loading…
Add table
Reference in a new issue