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
22 changes: 22 additions & 0 deletions .github/workflows/actionci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Action CI

on:
push:
tags-ignore:
- 'v*'
branches:
- "master"
pull_request:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
actionci:
permissions:
contents: read
security-events: write
uses: smallstep/workflows/.github/workflows/actionci.yml@main
secrets: inherit
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
ci:
permissions:
actions: read
contents: read
security-events: write
uses: smallstep/workflows/.github/workflows/goCI.yml@main
with:
only-latest-golang: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/code-scan-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ on:
schedule:
- cron: '0 0 * * SUN'

permissions:
actions: read
contents: read
security-events: write

jobs:
code-scan:
uses: smallstep/workflows/.github/workflows/code-scan.yml@main
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.5.0
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
Expand Down
11 changes: 11 additions & 0 deletions .github/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
rules:
unpinned-uses:
config:
policies:
"smallstep/*": ref-pin
secrets-inherit:
disable: true
ref-confusion:
disable: true
dependabot-cooldown:
disable: true