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/auto-review.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This is a single-maintainer project but I want to require reviews before
# merge, which means that I need a bot to review my own work.
name: Automatic pull request approvals
on:

Check failure on line 4 in .github/workflows/auto-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

dangerous-triggers

auto-review.yml:4: use of fundamentally insecure workflow trigger: pull_request_target is almost always used insecurely
pull_request_target:
types:
- opened
Expand Down Expand Up @@ -29,14 +29,14 @@
# create review
pull-requests: write
steps:
- uses: lewagon/wait-on-check-action@v1.9.0
- uses: lewagon/wait-on-check-action@v1.9.1

Check failure on line 32 in .github/workflows/auto-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 32 in .github/workflows/auto-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

auto-review.yml:32: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ref: ${{ github.event.pull_request.head.sha }}
check-name: test
repo-token: ${{ github.token }}
wait-interval: 60

- uses: "actions/github-script@v9"

Check failure on line 39 in .github/workflows/auto-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 39 in .github/workflows/auto-review.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

auto-review.yml:39: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
github-token: ${{ github.token }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://github.com/pascalgn/automerge-action/issues/46 so don't attempt to
# add people other than dependabot to the if field below.
name: dependabot-auto-merge
on:

Check failure on line 8 in .github/workflows/automerge.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

dangerous-triggers

automerge.yml:8: use of fundamentally insecure workflow trigger: pull_request_target is almost always used insecurely
pull_request_target:
types:
# Dependabot will label the PR
Expand All @@ -28,7 +28,7 @@
contents: write
steps:
# Enable auto-merge *before* issuing an approval.
- uses: alexwilson/enable-github-automerge-action@main

Check failure on line 31 in .github/workflows/automerge.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 31 in .github/workflows/automerge.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

automerge.yml:31: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand All @@ -39,7 +39,7 @@
# wait-on-check requires only checks read
checks: read
steps:
- uses: lewagon/wait-on-check-action@v1.9.0
- uses: lewagon/wait-on-check-action@v1.9.1

Check failure on line 42 in .github/workflows/automerge.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 42 in .github/workflows/automerge.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

automerge.yml:42: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ref: ${{ github.event.pull_request.head.sha }}
check-name: test
Expand Down
Loading