Skip to content

Commit

Permalink
feat: update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dongminlee94 committed Mar 15, 2024
1 parent c24970e commit 97e3a09
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: "[Repo CI] CodeQL"

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Automation] Pull Request"
name: "[Automation] Pull Request"
on:
pull_request:
types: [opened, synchronize, edited, reopened, closed]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Repo CI] Python Code"
name: "[Repo CI] Python Code"

on:
pull_request:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/stale-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "[Automation] Mark or Close Stale Issues"

on:
schedule:
- cron: '0 0 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# Mark stale issues
days-before-stale: 20
stale-issue-label: stale
stale-issue-message: |
This issue has been automatically marked as stale because it has been open 20 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days
# Close stale issues
days-before-close: 10
close-issue-message: This issue was automatically closed because of stale in 10 days

0 comments on commit 97e3a09

Please sign in to comment.