Skip to content

Enable inlay hints for VSCode (#1020) #188

Enable inlay hints for VSCode (#1020)

Enable inlay hints for VSCode (#1020) #188

Workflow file for this run

name: Gerald - Notify on Push
'on':
push:
branches:
- master
- develop
- main
jobs:
gerald:
# Skip this workflow on dependabot PRs
if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: '${{ github.ref }}'
# GitHub Actions doesn't allow us to take the length of github.event.commits, so we have to pass the array into node and take the length there.
# We add one to the length because we want to get the diff between the last commit and the commit before the first commit.
fetch-depth: '$(node -e "console.log(${{ github.event.commits }}.length + 1")'
- name: Run Gerald
uses: Khan/gerald@v3.1
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
ADMIN_PERMISSION_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}'
EVENT: 'push'