Skip to content

Commit 08087fc

Browse files
Use basic stale action config
1 parent 8eb935e commit 08087fc

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

Diff for: .github/workflows/github-stale-action.yml

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
name: GitHub Actions Demo
2-
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
3-
on: [push]
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '1 * * * *'
5+
46
jobs:
5-
Explore-GitHub-Actions:
7+
stale:
68
runs-on: ubuntu-latest
79
steps:
8-
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
9-
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10-
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11-
- name: Check out repository code
12-
uses: actions/checkout@v3
13-
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
14-
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
15-
- name: List files in the repository
16-
run: |
17-
ls ${{ github.workspace }}
18-
- run: echo "🍏 This job's status is ${{ job.status }}."
10+
- uses: actions/stale@v7
11+
with:
12+
stale-issue-message: 'Message to comment on stale issues. If none provided, will not mark issues stale'
13+
stale-pr-message: 'Message to comment on stale PRs. If none provided, will not mark PRs stale'

0 commit comments

Comments
 (0)