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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default owners for everything in the repo
* @rhuanbarreto
5 changes: 3 additions & 2 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
description: "Release tag to build (e.g. v0.1.0)"
required: true

permissions:
contents: write
permissions: {}

env:
ARCHGATE_TELEMETRY: "0"
Expand All @@ -19,6 +18,8 @@ jobs:
build:
name: Build ${{ matrix.artifact }}
timeout-minutes: 15
permissions:
contents: write
strategy:
fail-fast: false
matrix:
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ concurrency:
group: release-${{ github.ref_name }}
cancel-in-progress: false

permissions:
actions: write
contents: write
id-token: write
pull-requests: write
statuses: write
permissions: {}

env:
ARCHGATE_TELEMETRY: "0"
Expand All @@ -26,6 +21,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
name: Context check
permissions:
contents: read
outputs:
continue: ${{ steps.check.outputs.continue }}
workflow: ${{ steps.check.outputs.workflow }}
Expand Down Expand Up @@ -64,6 +61,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
name: Pull request
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
needs: check
if: needs.check.outputs.workflow == 'pull-request'
steps:
Expand Down Expand Up @@ -114,6 +116,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
name: Release
permissions:
contents: write
id-token: write
needs: check
if: needs.check.outputs.workflow == 'release'
steps:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:

permissions: read-all

env:
ARCHGATE_TELEMETRY: "0"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
Loading