Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Protect workflows via CODEOWNERS and explicit user matching #240

Merged
merged 3 commits into from
Mar 26, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
pull-requests: write
contents: write
name: Run pr agent on every pull request, respond to user comments
if: (github.actor == 'mansenfranzen') || (github.triggering_actor == 'mansenfranzen')
steps:
- name: PR Agent action step
id: pragent
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Release

on:
push:
branches:
Expand All @@ -7,7 +9,6 @@ permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
Expand Down
3 changes: 3 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.github/workflows/pr-agent.yml @mansenfranzen
/.github/workflows/release-please.yml @mansenfranzen
/CODEOWNERS @mansenfranzen
Loading