Browse Source

Update actions on bugfix branch

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
81cc803ade
  1. 22
      .github/workflows/close-stale.yml
  2. 18
      .github/workflows/lock-closed.yml
  3. 3
      .github/workflows/test-builds.yml

22
.github/workflows/close-stale.yml

@ -1,22 +0,0 @@
#
# close-stale.yml
# Close open issues after a period of inactivity
#
name: "Close stale issues"
on:
schedule:
- cron: "0 1 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.'
days-before-stale: 30
days-before-close: 5
stale-issue-label: 'stale-closing-soon'

18
.github/workflows/lock-closed.yml

@ -1,18 +0,0 @@
#
# lock-closed.yml
# Lock closed issues after a period of inactivity
#
name: "Lock closed issue"
on:
issues:
types: [closed]
jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: OSDKDev/lock-issues@v1.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

3
.github/workflows/test-builds.yml

@ -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
@ -103,7 +105,6 @@ jobs:
- name: Run ${{ matrix.test-platform }} Tests - name: Run ${{ matrix.test-platform }} Tests
run: | run: |
# Inline tests script # Inline tests script
[[ "$GITHUB_REPOSITORY" == "MarlinFirmware/Marlin" ]] || exit 0
chmod +x buildroot/bin/* chmod +x buildroot/bin/*
chmod +x buildroot/tests/* chmod +x buildroot/tests/*
export PATH=./buildroot/bin/:./buildroot/tests/:${PATH} export PATH=./buildroot/bin/:./buildroot/tests/:${PATH}

Loading…
Cancel
Save