Skip to content

Commit 7b328b9

Browse files
committed
ci: add changelog flow
Signed-off-by: Josef Andersson <janderssonse@proton.me>
1 parent 2ab6791 commit 7b328b9

20 files changed

+692
-201
lines changed

.github/workflows/commitlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: github.event_name == 'pull_request'
1717
steps:
1818
- name: Harden GitHub runner
19-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
19+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2020
with:
2121
egress-policy: audit
2222

.github/workflows/dependencyreview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: github.event_name == 'pull_request'
1616
steps:
1717
- name: Harden GitHub runner
18-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
18+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
1919
with:
2020
egress-policy: audit
2121

.github/workflows/golint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Harden GitHub runner
18-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
18+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
1919
with:
2020
egress-policy: audit
2121

@@ -35,7 +35,7 @@ jobs:
3535
./scripts/generatemock.sh
3636
3737
- name: golangci-Lint analysis
38-
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 #v6.1.1
38+
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0
3939
with:
4040
skip-cache: true
4141
skip-save-cache: true

.github/workflows/goreleaser.yml

Lines changed: 0 additions & 174 deletions
This file was deleted.

.github/workflows/licenselint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Harden GitHub runner
19-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
19+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2020
with:
2121
egress-policy: audit
2222

.github/workflows/misclint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
security-events: write
2222
steps:
2323
- name: Harden GitHub runner
24-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
24+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
2525
with:
2626
egress-policy: audit
2727

@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Archive MegaLinter artifacts
3838
if: always()
39-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
39+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
4040
with:
4141
name: MegaLinter reports
4242
path: |
@@ -45,6 +45,6 @@ jobs:
4545

4646
- name: Upload MegaLinter scan results to GitHub Security tab
4747
if: success() || failure()
48-
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
48+
uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
4949
with:
5050
sarif_file: "megalinter-reports/megalinter-report.sarif"

.github/workflows/openssfscorecard.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ on:
1212
# Weekly on Saturdays.
1313
- cron: "30 1 * * 6"
1414

15-
permissions: read-all
15+
permissions:
16+
contents: read
1617

1718
jobs:
1819
analysis:
1920
name: Scorecard analysis
2021
runs-on: ubuntu-latest
2122
permissions:
23+
contents: read
2224
# Needed for Code scanning upload
2325
security-events: write
2426
# Needed for GitHub OIDC token if publish_results is true
2527
id-token: write
2628

2729
steps:
2830
- name: Harden GitHub runner
29-
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
31+
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
3032
with:
3133
egress-policy: audit
3234

@@ -51,7 +53,7 @@ jobs:
5153
# uploads of run results in SARIF format to the repository Actions tab.
5254
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
5355
- name: "Upload artifact"
54-
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
56+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
5557
with:
5658
name: SARIF file
5759
path: results.sarif
@@ -60,6 +62,6 @@ jobs:
6062
# Upload the results to GitHub's code scanning dashboard (optional).
6163
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6264
- name: "Upload to code-scanning"
63-
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
65+
uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
6466
with:
6567
sarif_file: results.sarif

.github/workflows/workflow.yml renamed to .github/workflows/pullrequest-workflow.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
# SPDX-License-Identifier: CC0-1.0
44

55
---
6-
name: Git Provider Sync Workflow
6+
name: Pull Request Workflow
77

88
on:
99
push:
1010
branches:
1111
- main
12-
# tags:
13-
# - v[0-9]+.[0-9]+.[0-9]+
1412
pull_request:
1513
branches:
1614
- main
@@ -20,20 +18,12 @@ permissions:
2018

2119
jobs:
2220
commitlint:
23-
permissions:
24-
contents: read
2521
uses: ./.github/workflows/commitlint.yml
2622
dependencyreviewlint:
27-
permissions:
28-
contents: read
2923
uses: ./.github/workflows/dependencyreview.yml
3024
licenselint:
31-
permissions:
32-
contents: read
3325
uses: ./.github/workflows/licenselint.yml
3426
golint:
35-
permissions:
36-
contents: read
3727
uses: ./.github/workflows/golint.yml
3828
misclint:
3929
permissions:

0 commit comments

Comments
 (0)