Add slots and replace/rename functionality. #24
Workflow file for this run
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: Check Changes | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
pull-requests: write | |
jobs: | |
changes: | |
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.head_ref, 'publish/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 ## Needed for changelog | |
- uses: ./.github/actions/setup | |
- uses: pnpm/action-setup@v3 | |
name: Install pnpm | |
- run: pnpm install | |
name: Install dependencies | |
- name: Create PR Comment | |
run: pnpm chronus-github get-pr-comment --out ./comment-out/comment.json | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: comment | |
path: comment-out/ | |
retention-days: 1 # Only need for the next workflow so don't need to waste storageretention-days | |
- run: pnpm chronus verify | |
name: Verify changes |