Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ updates:
# Ignore major bumps in main, as it breaks the group bump process
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
cooldown:
default-days: 7
commit-message:
prefix: ":seedling:"
labels:
Expand All @@ -39,6 +41,8 @@ updates:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
cooldown:
default-days: 7
commit-message:
prefix: ":seedling:"
labels:
Expand All @@ -60,6 +64,8 @@ updates:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
cooldown:
default-days: 7
commit-message:
prefix: ":seedling:"
labels:
Expand All @@ -81,6 +87,8 @@ updates:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
cooldown:
default-days: 7
commit-message:
prefix: ":seedling:"
labels:
Expand All @@ -102,6 +110,8 @@ updates:
# Ignore major and minor bumps for release branch
- dependency-name: "*"
update-types: [ "version-update:semver-major", "version-update:semver-minor" ]
cooldown:
default-days: 7
commit-message:
prefix: ":seedling:"
labels:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'metal3-io/ironic-image'
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # zizmor: ignore[artipacked]
with:
fetch-depth: 0
- name: Get changed files
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
curl -fsSL "https://raw.githubusercontent.com/${{ github.repository }}/main/releasenotes/${RELEASE_TAG}.md" \
-o "${RELEASE_TAG}.md"
- name: Release
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0 # zizmor: ignore[superfluous-actions]
with:
draft: true
body_path: ${{ env.RELEASE_TAG }}.md
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# Static analysis for GitHub Actions workflows
# https://docs.zizmor.sh/
name: zizmor

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions: {}

jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
# Upload SARIF to Security tab on push to main
- name: Run zizmor (SARIF)
if: github.event_name == 'push'
uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0
# Block PRs with findings
- name: Run zizmor (PR check)
if: github.event_name == 'pull_request'
uses: zizmorcore/zizmor-action@0dce2577a4760a2749d8cfb7a84b7d5585ebcb7d # v0.5.0
with:
advanced-security: false
Loading