mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 07:59:59 -07:00
un-skip jobs for testing
This commit is contained in:
committed by
Cooper Quintin
parent
0f98b05475
commit
a17e255148
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -34,7 +34,9 @@ jobs:
|
||||
id: files_changed
|
||||
run: |
|
||||
lcommit=${{ github.event.pull_request.base.sha || 'origin/main' }}
|
||||
if [ ${{ github.ref }} = 'refs/heads/main' ]
|
||||
|
||||
# If we are on main, or if these workflow files are being changed, run everything
|
||||
if [ ${{ github.ref }} = 'refs/heads/main' ] || git diff --name-only $lcommit..HEAD | grep -qe ^.github/workflows/
|
||||
then
|
||||
echo "building everything"
|
||||
echo code_count=forced >> "$GITHUB_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user