Skip to content

Commit

Permalink
Only check develop pushes for autoconf inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jun 16, 2024
1 parent bc495b6 commit a510fa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Autotools check

on:
pull_request:
branches: [ develop ]
push:
branches: [ develop ]

Expand All @@ -25,18 +23,8 @@ jobs:
run: |
for i in `find . -name configure`; do sed -i 's/From configure.ac .*//' $i; done
- name: Check diff
env:
GH_TOKEN: ${{ github.token }}
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
if [ -s .gitdiff ]; then
exit 1
fi
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl configure.ac: this file is processed by autoconf to produce ./configure.

AC_PREREQ([2.71])
AC_INIT([Eggdrop],[1.9.5],[[email protected]],[eggdrop],[https://www.eggheads.org])
AC_COPYRIGHT([Copyright (C) 1999 - 2025 Eggheads Development Team])
AC_COPYRIGHT([Copyright (C) 1999 - 2024 Eggheads Development Team])
AC_LANG([C])
AC_REVISION([m4_esyscmd([misc/getcommit])])
AC_CONFIG_SRCDIR(src/eggdrop.h)
Expand Down

0 comments on commit a510fa9

Please sign in to comment.