Skip to content

Commit 7612c03

Browse files
authored
chore: add/update default repository files (#33)
- Add standardized GitHub workflows - Update linting and security configurations - Add documentation templates - Update development tools configuration Generated by multi-gitter
1 parent e2c9b87 commit 7612c03

File tree

6 files changed

+10
-15
lines changed

6 files changed

+10
-15
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ jobs:
2626
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727

2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@42213152a85ae7569bdb6bec7bcd74cd691bfe41 # v3.30.9
29+
# Does not support arm64
30+
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
3031
with:
3132
languages: actions
3233
build-mode: none
3334
queries: security-extended
3435

3536
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@42213152a85ae7569bdb6bec7bcd74cd691bfe41 # v3.30.9
37+
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
3738
with:
3839
category: "/language:actions"

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
release-please:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-24.04-arm
2121
steps:
2222
- name: Create release with Release Please
2323
uses: googleapis/release-please-action@c2a5a2bd6a758a0937f1ddb1e8950609867ed15c # v4.3.0

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ permissions: read-all
5050

5151
jobs:
5252
renovate:
53-
runs-on: ubuntu-latest
53+
runs-on: ubuntu-24.04-arm
5454
concurrency:
5555
group: ${{ github.workflow }}-${{ github.ref }}
5656
permissions: write-all

.github/workflows/scorecards.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions: read-all
1515

1616
jobs:
1717
scorecards:
18+
# ossf/scorecard-action doesn't support arm64
1819
runs-on: ubuntu-latest
1920
permissions:
2021
# Required for uploading SARIF results to GitHub Security tab
@@ -38,7 +39,7 @@ jobs:
3839
publish_results: true
3940

4041
- name: Upload SARIF results to GitHub Security
41-
uses: github/codeql-action/upload-sarif@42213152a85ae7569bdb6bec7bcd74cd691bfe41 # v3.30.9
42+
uses: github/codeql-action/upload-sarif@16140ae1a102900babc80a33c44059580f687047 # v4.30.9
4243
with:
4344
sarif_file: results.sarif
4445
# Set category to distinguish from other security scans

.github/workflows/semantic-pull-request.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,9 @@ permissions:
1717

1818
jobs:
1919
semantic-pull-request:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-24.04-arm
2121
steps:
22-
- name: Generate GitHub App token
23-
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
24-
id: app-token
25-
with:
26-
app-id: ${{ secrets.MY_RENOVATE_GITHUB_APP_ID }}
27-
private-key: ${{ secrets.MY_RENOVATE_GITHUB_PRIVATE_KEY }}
28-
2922
- name: Validate semantic pull request title
3023
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
3124
env:
32-
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
stale:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04-arm
1818
steps:
1919
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
2020
with:

0 commit comments

Comments
 (0)