1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-29 14:01:15 +03: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:
per1234
2021-10-12 16:05:46 -07:00
parent 9d78849156
commit baa0c087f5

View File

@ -91,7 +91,7 @@ jobs:
- name: Determine whether to dry run
id: dry-run
if: >
github.event == 'pull_request' ||
github.event_name == 'pull_request' ||
github.ref != format('refs/heads/{0}', github.event.repository.default_branch)
run: |
# Use of this flag in the github-label-sync command will cause it to only check the validity of the