Update workflow skip condition
This commit is contained in:
parent
5e7943f19f
commit
5ac9d9754e
3 changed files with 3 additions and 3 deletions
2
.github/workflows/bump-date.yml
vendored
2
.github/workflows/bump-date.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Bump Distribution Date
|
- name: Bump Distribution Date
|
||||||
run: |
|
run: |
|
||||||
# Inline Bump Script
|
# Inline Bump Script
|
||||||
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
|
[[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
|
||||||
DIST=$( date +"%Y-%m-%d" )
|
DIST=$( date +"%Y-%m-%d" )
|
||||||
eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
|
eval "sed -E -i 's/(#define +STRING_DISTRIBUTION_DATE) .*$/\1 \"$DIST\"/g' Marlin/src/inc/Version.h" && \
|
||||||
git config user.name "${GITHUB_ACTOR}" && \
|
git config user.name "${GITHUB_ACTOR}" && \
|
||||||
|
|
2
.github/workflows/check-pr.yml
vendored
2
.github/workflows/check-pr.yml
vendored
|
@ -1,6 +1,6 @@
|
||||||
#
|
#
|
||||||
# check-pr.yml
|
# 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
|
name: Check PR
|
||||||
|
|
2
.github/workflows/test-builds.yml
vendored
2
.github/workflows/test-builds.yml
vendored
|
@ -95,7 +95,7 @@ jobs:
|
||||||
- name: Run ${{ matrix.test-platform }} Tests
|
- name: Run ${{ matrix.test-platform }} Tests
|
||||||
run: |
|
run: |
|
||||||
# Inline tests script
|
# Inline tests script
|
||||||
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
|
[[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
|
||||||
chmod +x buildroot/bin/*
|
chmod +x buildroot/bin/*
|
||||||
chmod +x buildroot/share/tests/*
|
chmod +x buildroot/share/tests/*
|
||||||
export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
|
export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
|
||||||
|
|
Reference in a new issue