Skip to content

Commit

Permalink
chore: Update CI (box/box-codegen#504) (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build authored Jun 5, 2024
1 parent f8d164d commit 89e34ae
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .codegen.json
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" }
27 changes: 27 additions & 0 deletions .github/workflows/notify-changelog.yml
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"}'
21 changes: 21 additions & 0 deletions .github/workflows/spell-check-lint.yml
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

0 comments on commit 89e34ae

Please sign in to comment.