Skip to content

Commit

Permalink
Update finalized specs check to remove deprecated output and runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles authored Nov 6, 2024
1 parent 4d38051 commit 86b90f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/finalized_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
- id: changes
# Set outputs using the command.
run: |
echo "::set-output name=modified::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep spec/labels-v1.json$ | xargs)"
echo "modified=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep spec/labels-v1.json$ | xargs)" >> $GITHUB_OUTPUT
unit_test:
name: Error if finalized spec modified
needs: change_check
if: ${{ needs.change_check.outputs.modified }}
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Fail if specs modified
run: exit 1

0 comments on commit 86b90f3

Please sign in to comment.