PSL Update #1239
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PSL Update | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '40 6 * * *' | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4" | |
| bundler-cache: true | |
| - name: Update PSL | |
| run: bundle exec rake update-list | |
| - name: Create Pull Request | |
| uses: peter-evans/[email protected] | |
| with: | |
| title: PSL auto-update | |
| commit-message: Updated list from source | |
| reviewers: weppos | |
| labels: psl | |
| add-paths: | | |
| data/list.txt | |
| - name: Check Pull Request | |
| if: ${{ steps.cpr.outputs.pull-request-number }} | |
| run: | | |
| echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
| echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |