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: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
# leaving this out makes GitHub reject the run at startup_failure with zero
# jobs and no log β€” "requesting 'actions: read', but is only allowed 'actions: none'".
actions: read
contents: write
contents: read
pull-requests: write

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hypatia-scan-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Elixir for Hypatia scanner
uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readme-derive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions:
# leaving this out makes GitHub reject the run at startup_failure with zero
# jobs and no log β€” "requesting 'actions: read', but is only allowed 'actions: none'".
actions: read
contents: write
contents: read

jobs:
derive:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/rust-ci.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/signed-push-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
group: ${{ github.workflow }}

permissions:
contents: write
contents: read

jobs:
smoke:
Expand All @@ -23,6 +23,8 @@ jobs:
# job that `uses:` a reusable workflow β€” it is an illegal key there and
# GitHub refuses to parse the ENTIRE file, killing every job in it.
timeout-minutes: 10
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
19 changes: 19 additions & 0 deletions config/rulesets/Immutable-Tags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Immutable-Tags",
"target": "tag",
"enforcement": "active",
"conditions": {
"ref_name": {
"include": ["~ALL"],
"exclude": []
}
},
"bypass_actors": [],
"rules": [
{"type": "creation"},
{"type": "deletion"},
{"type": "non_fast_forward"},
{"type": "update"},
{"type": "required_signatures"}
]
}
44 changes: 44 additions & 0 deletions config/rulesets/Optimus-Branch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "Optimus-Branch",
"target": "branch",
"enforcement": "active",
"conditions": {
"ref_name": {
"include": ["~DEFAULT_BRANCH"],
"exclude": []
}
},
"bypass_actors": [],
"rules": [
{
"type": "deletion"
},
{
"type": "non_fast_forward"
},
{
"type": "required_signatures"
},
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 2,
"dismiss_stale_reviews_on_push": true,
"require_code_owner_review": true,
"require_last_push_approval": true,
"required_review_thread_resolution": true,
"require_extra_approval_for_unattributed_changes": true,
"required_reviewers": [],
"allowed_merge_methods": []
}
},
{
"type": "required_status_checks",
"parameters": {
"strict_required_status_checks_policy": true,
"do_not_enforce_on_create": false,
"required_status_checks": []
}
}
]
}
Loading