diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2a0c62..6ceb63e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,10 @@ run-name: Build ${{ inputs.plugin }} plugin | ${{ inputs.id }} -name: Build packages (on demand) +name: Build packages # This workflow runs when any of the following occur: # - Run manually # - Invoked from another workflow +# - On push to branches named after ci/* on: workflow_dispatch: inputs: @@ -33,6 +34,10 @@ on: description: "ID used to identify the workflow uniquely." type: string required: false + push: + # Sequence of patterns matched against refs/heads + branches: + - "ci/*" # ========================== # Bibliography diff --git a/.github/workflows/build_on_push.yml b/.github/workflows/build_on_push.yml deleted file mode 100644 index bc27845..0000000 --- a/.github/workflows/build_on_push.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Build packages (on push) - -# This workflow runs when any of the following occur: -# - On push to branches named after ci/* -on: - push: - # Sequence of patterns matched against refs/heads - branches: - - "ci/*" - -jobs: - call-build-workflow: - uses: ./.github/workflows/build.yml - secrets: inherit \ No newline at end of file