Skip to content

Commit

Permalink
chore: Update weekly workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kowyo committed Jun 1, 2024
1 parent 971a81e commit 6af7fdb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ on:
- cron: '30 10 * * 5' # This sets the workflow to run at 10:00 UTC+0 every Friday (6 PM Beijing time)
workflow_dispatch: # This allows you to manually trigger the workflow

permissions:
contents: write
pull-requests: write

jobs:
generate-report:
runs-on: ubuntu-22.04
permissions:
contents: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,11 +49,10 @@ jobs:
- name: Create pull request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'docs: new weekly report'
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
branch: weekly-report
title: 'Weekly Report'
body: 'This PR is automatically generated by GitHub Actions. Please review it.'
body: 'This is the weekly report for the current week, automatically generated by GitHub Actions.'
team-reviewers: auto-core

0 comments on commit 6af7fdb

Please sign in to comment.