Skip to content

Commit

Permalink
fix: github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Trotter authored and Filippo Trotter committed Nov 11, 2024
1 parent 0dbe8c1 commit f0aab86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/cruft-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@

# /.github/workflows/cruft-update.yml
name: Update repository with Cruft

permissions:
contents: write
pull-requests: write

on:
schedule:
- cron: "0 2 * * *"

jobs:
update:
runs-on: ubuntu-latest
Expand All @@ -27,6 +30,7 @@ jobs:
branch: cruft/reject
commit-message: "chore: reject new Cruft update"
title: Reject new updates detected with Cruft

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -65,7 +69,7 @@ jobs:
if: steps.check.outputs.has_changes == '1'
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: ${{ matrix.add-paths }}
commit-message: ${{ matrix.commit-message }}
branch: ${{ matrix.branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
with:
hooks: goreleaser
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}

0 comments on commit f0aab86

Please sign in to comment.