-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split up updating of status codes and methods
- Loading branch information
1 parent
2112f34
commit e1a5519
Showing
4 changed files
with
49 additions
and
11 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Daily HTTP status code spec update | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '55 17 * * *' | ||
|
||
jobs: | ||
update-specs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Install dependencies | ||
run: composer install | ||
- name: Run standard update command | ||
run: composer update-spec -- --type=http-status-codes | ||
- name: Run CSFixer | ||
run: composer cs:fix | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
commit-message: Automatic spec update from upstream changes | ||
delete-branch: true | ||
title: 'Automatic Http status code spec update' | ||
body: | | ||
This PR makes sure the content of this package is updated with upstream changes in the specs. | ||
labels: | | ||
spec-update | ||
automated pr | ||
reviewers: prinsfrank |
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
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