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
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@

permissions:
contents: read
packages: write

jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # push images to ghcr.io

strategy:
matrix:
Expand Down Expand Up @@ -117,7 +119,7 @@
# Always use the computed tag
type=raw,value=${{ steps.tag.outputs.tag }}
# Add 'latest' tag for version tags, workflow_dispatch, and pushes to main
type=raw,value=latest,enable=${{ (github.ref_type == 'tag' && startsWith(github.ref_name, 'v')) || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}

Check warning on line 122 in .github/workflows/build.yaml

View workflow job for this annotation

GitHub Actions / YAML Lint

122:151 [line-length] line too long (189 > 150 characters)

# 6b. Resolve build-args. authbridge-cpex needs CPEX_FFI_VERSION
# (the release tag) and CPEX_FFI_ABI (the FFI ABI integer the
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/dependabot-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ on:
- "authbridge/**/go.sum"

permissions:
contents: write
pull-requests: write
contents: read

# A Dependabot force-push (rebase) landing while a tidy is in flight would
# otherwise produce two jobs racing to push the same ref; the loser fails
Expand All @@ -29,6 +28,9 @@ jobs:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write # push tidy commit to the Dependabot PR branch
pull-requests: write # close+reopen the PR to re-trigger CI
env:
GOWORK: "off"
GOTOOLCHAIN: local
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/self-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ on:

permissions:
contents: read
issues: write

jobs:
self-assign:
permissions:
contents: read
issues: write # assign the commenter to the issue
uses: rossoctl/.github/.github/workflows/self-assign-reusable.yml@main
secrets:
ISSUE_ASSIGN_TOKEN: ${{ secrets.ISSUE_ASSIGN_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/spellcheck_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
spellcheck:
# disable spell check with 'false' value.
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@ on:
workflow_dispatch:

permissions:
issues: write
pull-requests: write
contents: read

jobs:
stale:
permissions:
contents: read
issues: write # close stale issues
pull-requests: write # close stale PRs
uses: rossoctl/.github/.github/workflows/stale.yaml@main
Loading