forked from armbian/build
-
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.
GitHub Actions: add log cleaner, adjust names, fix labelling on approve
- Loading branch information
1 parent
5dd1cd6
commit 52548e4
Showing
7 changed files
with
79 additions
and
27 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
name: Clean Workflow Logs | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 1" # Runs "At 00:00 on Monday." (see https://crontab.guru) | ||
|
||
workflow_dispatch: | ||
inputs: | ||
runs_older_than: | ||
description: "The amount of days old to delete" | ||
default: "21" | ||
required: false | ||
|
||
env: | ||
SCHEDULED_RUNS_OLDER_THAN: "21" | ||
SCHEDULED_RUNS_TO_KEEP: "0" | ||
|
||
jobs: | ||
clean-logs: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: write | ||
steps: | ||
- uses: igorjs/gh-actions-clean-workflow@v6 | ||
with: | ||
runs_older_than: ${{ github.event.inputs.runs_older_than || env.SCHEDULED_RUNS_OLDER_THAN }} | ||
runs_to_keep: ${{ github.event.inputs.runs_to_keep || env.SCHEDULED_RUNS_TO_KEEP }} |
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,24 @@ | ||
name: "Welcome first-time issue contributor" | ||
|
||
on: | ||
issues: | ||
types: opened | ||
|
||
jobs: | ||
welcome-first-time-contributor: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: plbstl/first-contribution@v3 | ||
with: | ||
labels: "Good first issue" | ||
issue-opened-msg: | | ||
### Hey @{fc-author} ! | ||
Looks like it's your first time interacting with Armbian here on GitHub. | ||
Welcome and thank you for taking the time to report an issue :heart:. | ||
Don't forget to star :star: the repo. |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: push | ||
name: "Announce PR merge to Discord" | ||
|
||
on: | ||
push: | ||
|
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
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,23 @@ | ||
name: "Welcome first-time PR contributor" | ||
|
||
on: | ||
pull_request_target: | ||
types: opened | ||
|
||
jobs: | ||
welcome-first-time-contributor: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: plbstl/first-contribution@v3 | ||
with: | ||
pr-opened-msg: | | ||
### Hey @{fc-author} ! | ||
Looks like it's your first pull reqests to Armbian codebase. | ||
Welcome and thank you for contributing :heart: :heart: :heart:. | ||
Don't forget to star :star: the repo. |
4 changes: 2 additions & 2 deletions
4
.github/workflows/build-board-list.yml → .github/workflows/update-board-list.yml
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