mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-08 20:06:32 +00:00
Correct context key name in "Sync Labels" workflow
Incorrect context key name resulted in impossible to satisfy conditional, meaning the dry run determination code was solely dependent on the check for whether the workflow was triggered from the default branch name.
This commit is contained in:
parent
1c42b8cefc
commit
060ab5bccb
2
.github/workflows/sync-labels.yml
vendored
2
.github/workflows/sync-labels.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
|||||||
- name: Determine whether to dry run
|
- name: Determine whether to dry run
|
||||||
id: dry-run
|
id: dry-run
|
||||||
if: >
|
if: >
|
||||||
github.event == 'pull_request' ||
|
github.event_name == 'pull_request' ||
|
||||||
github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
|
github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
|
||||||
run: |
|
run: |
|
||||||
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
|
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user