This commit updates the create-pull-request action version such that a security vulnerability that is present when using the `set-env` and `add-path` arguments is fixed. See https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ for more information.
57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
name: depup
|
|
on:
|
|
schedule:
|
|
- cron: '14 14 * * *'
|
|
push: # for testing
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
reviewdog:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./
|
|
id: depup
|
|
with:
|
|
file: testdata/testfile
|
|
version_name: REVIEWDOG_VERSION
|
|
repo: reviewdog/reviewdog
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
title: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}"
|
|
commit-message: "chore(deps): update reviewdog to ${{ steps.depup.outputs.latest }}"
|
|
body: |
|
|
Update reviewdog to [${{ steps.depup.outputs.latest }}](https://github.com/reviewdog/reviewdog/releases/tag/v${{ steps.depup.outputs.latest }})
|
|
|
|
This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup).
|
|
branch: depup/reviewdog
|
|
base: master
|
|
|
|
redpen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: ./
|
|
id: depup
|
|
with:
|
|
file: testdata/testfile
|
|
version_name: REDPEN_VERSION
|
|
repo: redpen-cc/redpen
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
title: "chore(deps): update redpen to ${{ steps.depup.outputs.latest }}"
|
|
commit-message: "chore(deps): update redpen to ${{ steps.depup.outputs.latest }}"
|
|
body: |
|
|
Update redpen to [${{ steps.depup.outputs.latest }}](https://github.com/redpen-cc/redpen/releases/tag/redpen-${{ steps.depup.outputs.latest }})
|
|
|
|
This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup).
|
|
branch: depup/redpen
|
|
base: master
|