diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-09-02 18:18:18 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-02 18:18:18 +0530 |
| commit | 6f42586a8d7319981ecf3a71d8f8338752295b36 (patch) | |
| tree | 970ea3f3dad2cfeac2c52c82df0549a686e25463 /.github/workflows/update_publicsuffix_data.yml | |
| parent | cbb96397d1f5cffef7984b08a426646aaea93e5b (diff) | |
| download | HardenedPass-6f42586a8d7319981ecf3a71d8f8338752295b36.tar.gz HardenedPass-6f42586a8d7319981ecf3a71d8f8338752295b36.zip | |
github: update workflows to use peter-evans/create-pull-request (#1072)
Turns out the workflow we use currently is far too unreliable.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/workflows/update_publicsuffix_data.yml')
| -rw-r--r-- | .github/workflows/update_publicsuffix_data.yml | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml index c0f7103e..34722279 100644 --- a/.github/workflows/update_publicsuffix_data.yml +++ b/.github/workflows/update_publicsuffix_data.yml @@ -21,19 +21,12 @@ jobs: - name: Compare list changes run: if [[ $(git diff --binary --stat) != '' ]]; then echo "::set-env name=UPDATED::true"; fi - - name: Commit changes - if: env.UPDATED == 'true' - run: | - git checkout -b bot/update-psl - git add app/src/main/assets/publicsuffixes - git commit --message "Update Public Suffix List data" - - - name: Create update PR - uses: thomaseizinger/create-pull-request@1.0.0 + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 if: env.UPDATED == 'true' with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - head: bot/update-psl + commit-message: Update Public Suffix List data + branch: bot/update-psl base: develop title: 'Update Public Suffix List data' - body: 'Updates Public Suffix List from https://publicsuffix.org/list/' + assignees: msfjarvis |
