WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 59694ae

Browse files
authored
Merge branch 'armbian:main' into feat/bootscript-templating
2 parents a74dada + c133a7d commit 59694ae

File tree

1,786 files changed

+260125
-22924
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,786 files changed

+260125
-22924
lines changed

.coderabbit.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: "en-US"
2+
reviews:
3+
auto_review:
4+
enabled: true
5+
labels: ["Needs review"]
6+
ignore_usernames: ["dependabot[bot]", "renovate[bot]"]
7+
ignore_title_keywords: ["wip", "draft"]

.github/CODEOWNERS

Lines changed: 94 additions & 59 deletions
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ contact_links:
1919
url: https://github.com/armbian/configng/issues/new
2020
about: Utility for configuring your board, adjusting services and installing applications.
2121
- name: Issue with infrastructure
22-
url: https://github.com/armbian/mirror/issues/new
22+
url: https://github.com/armbian/armbian-router/issues/new
2323
about: Broken download links or just slow download

.github/dependabot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7-
7+
labels:
8+
- "GitHub Actions"
9+
- "Dependencies"
810
- package-ecosystem: "pip"
911
directory: "/"
1012
schedule:
1113
interval: "weekly"
14+
labels:
15+
- "GitHub Actions"
16+
- "Dependencies"
17+
- "Python"

.github/workflows/clean-workflow-logs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
permissions:
2222
actions: write
2323
steps:
24-
- uses: igorjs/gh-actions-clean-workflow@v6
24+
- uses: igorjs/gh-actions-clean-workflow@v7
2525
with:
2626
runs_older_than: ${{ github.event.inputs.runs_older_than || env.SCHEDULED_RUNS_OLDER_THAN }}
2727
runs_to_keep: ${{ github.event.inputs.runs_to_keep || env.SCHEDULED_RUNS_TO_KEEP }}

.github/workflows/forked-helper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Dispatch event on forked repository
2020
if: ${{ env.DISPATCH_SECRET != '' }} # Check that the secret has been set, if not, exit
21-
uses: peter-evans/repository-dispatch@v3
21+
uses: peter-evans/repository-dispatch@v4
2222
with:
2323
token: ${{ env.DISPATCH_SECRET }}
2424
repository: ${{ github.repository }}

.github/workflows/issue-welcome-first-time.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
issues: write
1212
pull-requests: write
1313
steps:
14-
- uses: plbstl/first-contribution@v3
14+
- uses: plbstl/first-contribution@v4
1515
with:
1616
labels: "Good first issue"
1717
issue-opened-msg: |

.github/workflows/pr-auto-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v5
5252

5353
# Applies labels based on the .github/labeler.yml config
54-
- uses: actions/labeler@v5
54+
- uses: actions/labeler@v6
5555
with:
5656
repo-token: "${{ secrets.GITHUB_TOKEN }}"
5757

.github/workflows/pr-kernel-security-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Get changed files
3636
id: changed-files
37-
uses: tj-actions/changed-files@3b04099b21072562f07469c10deb182b24236ca9 # v46.0.3
37+
uses: tj-actions/changed-files@0ff001de0805038ff3f118de4875002200057732 # v46.0.3
3838

3939
- name: Checkout repository
4040
uses: actions/checkout@v5
Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,54 @@
1-
on: pull_request_review
2-
name: Label approved pull requests
3-
4-
permissions:
5-
contents: read # Required for checking changed files
6-
pull-requests: write # Required for labeling PRs
7-
issues: write # Required for adding/removing labels
1+
name: PR review labeler
2+
on:
3+
workflow_run:
4+
workflows: ["PR review listener"]
5+
types: [completed]
86

97
jobs:
10-
labelWhenApproved:
11-
if: ${{ github.repository_owner == 'armbian' }}
12-
name: Label when approved
8+
label:
9+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1310
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
issues: write
14+
pull-requests: write
15+
1416
steps:
15-
- name: Label when approved
16-
uses: pullreminders/label-when-approved-action@master
17-
env:
18-
APPROVALS: "1"
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
ADD_LABEL: "Ready to merge"
21-
REMOVE_LABEL: "Needs%20review"
17+
- name: Download PR number artifact from upstream run
18+
uses: actions/download-artifact@v6
19+
with:
20+
name: pr-number-${{ github.event.workflow_run.id }} # same unique name
21+
path: .
22+
run-id: ${{ github.event.workflow_run.id }} # ← CRITICAL: fetch from the upstream run
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
- id: pr
26+
run: echo "number=$(cat pr.txt)" >> $GITHUB_OUTPUT
27+
28+
- name: Label when approved
29+
uses: j-fulbright/[email protected]
30+
with:
31+
token: ${{ secrets.GITHUB_TOKEN }}
32+
label: 'Ready to merge'
33+
require_committers_approval: 'true'
34+
remove_label_when_approval_missing: 'true'
35+
comment: '✅ This PR has been reviewed and approved — all set for merge!'
36+
pullRequestNumber: ${{ steps.pr.outputs.number }}
37+
38+
- name: Remove review-related labels
39+
if: ${{ success() }}
40+
uses: actions/github-script@v8
41+
with:
42+
script: |
43+
const { owner, repo } = context.repo;
44+
const issue_number = ${{ steps.pr.outputs.number }};
45+
const labelsToRemove = ["Needs review", "Work in progress", "Backlog", "Can be closed?", "Help needed", "Needs Documentation"];
46+
47+
for (const name of labelsToRemove) {
48+
try {
49+
await github.rest.issues.removeLabel({ owner, repo, issue_number, name });
50+
core.info(`Removed label "${name}"`);
51+
} catch (e) {
52+
core.warning(`Could not remove label "${name}": ${e.message}`);
53+
}
54+
}

0 commit comments

Comments
 (0)