Skip to content

Commit

Permalink
migrate off deprecated github action
Browse files Browse the repository at this point in the history
Migrate from last-successful-commit-action to nx-set-shas. This reflects
upstream changes made in tj-actions/changed-files:

tj-actions/changed-files#822
  • Loading branch information
pkwarren committed Dec 5, 2022
1 parent 9020517 commit 3df82c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/last-successful-commit-action@f74ee67ed77cc6a9f54c742c8c04b86ae33906fe
- uses: rwl/nx-set-shas@177b48373c6dc583ce0d9257ffb484bdd232fedf
id: last_successful_commit_push
with:
branch: ${{ github.ref_name }}
main-branch-name: ${{ github.ref_name }}
workflow_id: 'ci.yml'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@8a4cc4fbd67975557b6d85dd302f5f9400b9c92e
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
files: |
plugins/**
files_ignore: |
Expand Down

0 comments on commit 3df82c3

Please sign in to comment.