Update ReSpec #203
This file contains 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: Update ReSpec | |
on: | |
schedule: | |
- cron: '0 0 * * 1' | |
jobs: | |
update-respec: | |
name: Update to latest ReSpec released on w3.org | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download latest ReSpec | |
run: wget https://www.w3.org/Tools/respec/respec-w3c.js -O respec-w3c.js | |
- name: Find respec version | |
run: echo "RESPEC_VERSION=$(cat respec-w3c.js | head -1 | cut -d '"' -f 2)" >> $GITHUB_ENV | |
- uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.W3C_GITHUB_TOKEN }} | |
title: Update to latest ReSpec version ${{ env.RESPEC_VERSION }} | |
commit-message: "Update to ReSpec version ${{ env.RESPEC_VERSION }}" | |
assignees: dontcallmedom | |
draft: true | |
labels: Editorial,repo-management | |
branch: respec-update | |
delete-branch: true |