Przeglądaj źródła

Update workflow skip condition

Scott Lahteine 4 lat temu
rodzic
commit
5ac9d9754e

+ 1
- 1
.github/workflows/bump-date.yml Wyświetl plik

@@ -24,7 +24,7 @@ jobs:
24 24
     - name: Bump Distribution Date
25 25
       run: |
26 26
         # Inline Bump Script
27
-        [[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
27
+        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
28 28
         DIST=$( date +"%Y-%m-%d" )
29 29
         eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
30 30
         git config user.name "${GITHUB_ACTOR}" && \

+ 1
- 1
.github/workflows/check-pr.yml Wyświetl plik

@@ -1,6 +1,6 @@
1 1
 #
2 2
 # check-pr.yml
3
-# Automatically close the PR if it's directed to a release branch
3
+# Add a comment to the PR if it's directed to a release branch
4 4
 #
5 5
 
6 6
 name: Check PR

+ 1
- 1
.github/workflows/test-builds.yml Wyświetl plik

@@ -95,7 +95,7 @@ jobs:
95 95
     - name: Run ${{ matrix.test-platform }} Tests
96 96
       run: |
97 97
         # Inline tests script
98
-        [[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
98
+        [[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
99 99
         chmod +x buildroot/bin/*
100 100
         chmod +x buildroot/share/tests/*
101 101
         export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}

Ładowanie…
Anuluj
Zapisz