Skip to content

Commit

Permalink
ci: Normalize workflow against other lunarmodules repos
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Apr 23, 2022
1 parent 70dfac6 commit 051ff1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
upload:
needs: [ affected, build ]
# Only run upload if:
# 1. Some rockspecs were changed — this implies the commit changing the rockspec is the same one that gets tagged
# 1. We are on the canonical repository (no uploads from forks)
# 2. The current commit is either tagged or on the default branch (the workflow will upload dev/scm rockspecs any
# time they are touched, tagged ones whenever the edited rockspec and tag match)
# 3. We are on the canonical repository (no uploads from forks)
# 3. Some rockspecs were changed — this implies the commit changing the rockspec is the same one that gets tagged
if: >-
${{
github.repository == 'lunarmodules/luacheck' &&
Expand Down

0 comments on commit 051ff1c

Please sign in to comment.