Limit actions to main
This commit is contained in:
parent
7bf89f2b9f
commit
481b8ff2d9
3
.github/workflows/bump-date.yml
vendored
3
.github/workflows/bump-date.yml
vendored
@ -11,6 +11,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump_date:
|
bump_date:
|
||||||
|
name: Bump Distribution Date
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@ -24,7 +26,6 @@ jobs:
|
|||||||
- name: Bump Distribution Date
|
- name: Bump Distribution Date
|
||||||
run: |
|
run: |
|
||||||
# Inline Bump Script
|
# Inline Bump Script
|
||||||
[[ "$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}" && \
|
||||||
|
3
.github/workflows/check-pr.yml
vendored
3
.github/workflows/check-pr.yml
vendored
@ -14,8 +14,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bad_target:
|
bad_target:
|
||||||
|
|
||||||
name: PR Bad Target
|
name: PR Bad Target
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
6
.github/workflows/close-stale.yml
vendored
6
.github/workflows/close-stale.yml
vendored
@ -3,7 +3,7 @@
|
|||||||
# Close open issues after a period of inactivity
|
# Close open issues after a period of inactivity
|
||||||
#
|
#
|
||||||
|
|
||||||
name: "Close stale issues"
|
name: Close Stale Issues
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@ -11,7 +11,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
name: Close Stale Issues
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v3
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/lock-closed.yml
vendored
6
.github/workflows/lock-closed.yml
vendored
@ -3,7 +3,7 @@
|
|||||||
# Lock closed issues after a period of inactivity
|
# Lock closed issues after a period of inactivity
|
||||||
#
|
#
|
||||||
|
|
||||||
name: 'Lock threads'
|
name: Lock Closed Issues
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@ -11,7 +11,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
lock:
|
||||||
|
name: Lock Closed Issues
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v2
|
- uses: dessant/lock-threads@v2
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/test-builds.yml
vendored
2
.github/workflows/test-builds.yml
vendored
@ -17,6 +17,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_builds:
|
test_builds:
|
||||||
|
name: Run All Tests
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
6
.github/workflows/unlock-reopened.yml
vendored
6
.github/workflows/unlock-reopened.yml
vendored
@ -10,8 +10,12 @@ on:
|
|||||||
types: [reopened]
|
types: [reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
unlock:
|
||||||
|
name: Unlock Reopened
|
||||||
|
if: github.repository == 'MarlinFirmware/Marlin'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: OSDKDev/unlock-issues@v1.1
|
- uses: OSDKDev/unlock-issues@v1.1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user