Bug 1705781 [wpt PR 28548] - [GitHub Actions] Update certificate regeneration workflow, a=testonly

Automatic update from web-platform-tests
[GitHub Actions] Update certificate regeneration workflow (#28548)

For consistency of naming and versions in other workflows.
--

wpt-commits: a5a57f829bc30ca1e8a637df61a551603f6c6365
wpt-pr: 28548
This commit is contained in:
Philip Jägenstedt 2021-04-24 09:14:22 +00:00 коммит произвёл moz-wptsync-bot
Родитель 3b40741f2b
Коммит 6a0a0c9cbf
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -1,12 +1,13 @@
name: Regenerate WPT certificates
name: certificates
on:
# Our certificates are good for ~1 year, but we regenerate them every
# month to be sure. Also support manually triggering the workflow.
schedule:
# Our certificates are good for ~1 year, but we regenerate them every
# month to be sure.
- cron: '0 0 12 * *'
- cron: 0 0 12 * *
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Set up Python
uses: actions/setup-python@v2
@ -23,7 +24,7 @@ jobs:
- name: Commit and create pull request
# Use a conditional step instead of a conditional job to work around #20700.
if: github.repository == 'web-platform-tests/wpt'
uses: peter-evans/create-pull-request@v2
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Automated regeneration of WPT certificates