1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 02:35:31 +00:00

Update workflow skip condition

This commit is contained in:
Scott Lahteine 2020-01-08 17:20:14 -06:00
parent 5e7943f19f
commit 5ac9d9754e
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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