-
-
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.
feat: enhance GitHub workflows with build provenance and linter permi…
…ssions; add Dependabot configuration
- Loading branch information
1 parent
ea1bb21
commit 7026c57
Showing
3 changed files
with
28 additions
and
0 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,15 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "sunday" | ||
time: "16:00" | ||
|
||
- package-ecosystem: "gitsubmodule" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "sunday" | ||
time: "16:00" |
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 |
---|---|---|
|
@@ -7,6 +7,9 @@ on: | |
|
||
permissions: | ||
contents: write | ||
id-token: write | ||
attestations: write | ||
security-events: write | ||
|
||
jobs: | ||
bump_version_and_create_release: | ||
|
@@ -31,6 +34,13 @@ jobs: | |
run: | | ||
python3 Scripts/increment_version.py ${{ steps.test_tag_version.outputs.new_tag }} | ||
- name: Attest Build Provenance | ||
uses: actions/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
subject-name: "Flakkari Version Bump" | ||
subject-path: "Scripts/increment_version.py" | ||
|
||
- name: Set up Git and Push changes | ||
env: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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