-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update CI (box/box-codegen#504) (#184)
- Loading branch information
1 parent
f8d164d
commit 89e34ae
Showing
3 changed files
with
49 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{ "engineHash": "b823fc5", "specHash": "cb70223", "version": "1.0.0" } | ||
{ "engineHash": "ae78196", "specHash": "c3c012c", "version": "1.0.0" } |
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,27 @@ | ||
# A GitHub action that notifies the developer | ||
# changelog repository of any new releases. | ||
|
||
name: Notify changelog | ||
|
||
on: | ||
# Only trigger for a full release, | ||
# ignoring pre-releases and drafts | ||
release: | ||
types: | ||
- released | ||
|
||
jobs: | ||
notify: | ||
# This job can run on the latest Ubuntu | ||
# and it should not take more than 3 minutes | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
|
||
steps: | ||
- name: Notify changelog of new release | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} | ||
repository: box/box-developer-changelog | ||
event-type: new-release-note | ||
client-payload: '{"ref": "${{ github.ref }}", "repository": "${{github.repository}}", "labels": "sdks,python", "repo_display_name": "Box Python SDK Generated"}' |
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,21 @@ | ||
name: spell-check-lint | ||
on: | ||
pull_request_target: | ||
types: [opened, synchronize, edited] | ||
branches: | ||
- main | ||
jobs: | ||
spellcheck-request-title: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout current repository | ||
uses: actions/checkout@v2 | ||
- name: Checkout spellchecker | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: refs/heads/main | ||
repository: box/box-sdk-spellchecker | ||
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} | ||
path: spellchecker | ||
- name: Execute spellchecker | ||
uses: ./spellchecker |