Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jun 16, 2024
1 parent 8b77c56 commit 2a8fce3
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,18 @@ jobs:
run: |
for i in `find . -name configure`; do sed -i 's/From configure.ac .*//' $i; done
- name: Check diff
run: git diff | tee .gitdiff && cat .gitdiff && if [ -s .gitdiff ]; then exit 1; fi
run: |
git diff | tee .gitdiff
if [ "${{ github.event_name }}" = "pull_request" ]; then
if [ -s .gitdiff ]; then
gh pr edit "${{ github.event.number }}" --add-label "misc/runautotools"
else
gh pr edit "${{ github.event.number }}" --remove-label "misc/runautotools"
fi
else
if [ -s .gitdiff ]; then
exit 1
fi
fi
env:
NUMBER: {% raw %}${{ github.event.number }}{% endraw %}

0 comments on commit 2a8fce3

Please sign in to comment.