-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6354b01
commit cb48df4
Showing
4 changed files
with
77 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Assign Issue to Creator | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
assign-to-creator: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Assign Issue to Creator | ||
uses: peter-evans/create-or-update-issue@v2 | ||
with: | ||
issue: ${{ github.event.issue.number }} | ||
assignees: ${{ github.event.issue.user.login }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SNOW }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Assign Contribution Label | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
jobs: | ||
assign-contribution-label: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Assign Contribution Label | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
const issueNumber = context.payload.issue.number; | ||
await github.issues.addLabels({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: issueNumber, | ||
labels: ['contribution'], | ||
}); | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SNOW }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/actions/stale | ||
name: Mark stale issues and pull requests | ||
|
||
on: | ||
schedule: | ||
- cron: '23 20 * * *' | ||
|
||
jobs: | ||
stale: | ||
|
||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
repo-token: ${{ secrets.SNOW }} | ||
stale-issue-message: 'We noticed that this Issue has been inactive for quite some time. 🥺' | ||
stale-pr-message: 'This PR has no activity, Maintainers and Reviewers we need help here 💖' | ||
stale-issue-label: 'inactive-issue' | ||
stale-pr-label: 'pr-review-asap' | ||
days-before-issue-stale: 5 | ||
days-before-pr-stale: 3 |
This file was deleted.
Oops, something went wrong.