| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- name: Run update-since-todo.py
- on:
- schedule:
- - cron: "0 16 * * THU"
- workflow_dispatch:
- permissions:
- contents: write
- pull-requests: write
- jobs:
- since_updater:
- runs-on: ubuntu-latest
- if: ${{ github.repository_owner == 'jenkinsci' }}
- steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- with:
- fetch-depth: 0
- - name: Run update-since-todo.py
- run: |
- body=$(./update-since-todo.py)
- {
- echo 'PROGRESS<<EOF'
- echo "${body}"
- echo 'EOF'
- } >> $GITHUB_OUTPUT
- id: run_script
- shell: bash
- - name: Create Pull Request
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- commit-message: Fill in since annotations
- title: Fill in since annotations
- body: ${{ steps.run_script.outputs.PROGRESS }}
- base: master
- labels: skip-changelog
- branch: actions/update-since-todo
- delete-branch: true
|