Skip to content

Commit

Permalink
Merge pull request #148 from learningequality/rtibbles-patch-2
Browse files Browse the repository at this point in the history
Update finalized specs check to remove deprecated output and runner
  • Loading branch information
rtibbles authored Nov 7, 2024
2 parents 4d38051 + 86b90f3 commit b4b497d
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 b4b497d

Please sign in to comment.