mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-12 20:11:16 +00:00
Merge pull request #235 from devilbox/workflow-dispatch
Allow workflows to be manually dispatched
This commit is contained in:
1
.github/workflows/action_branch.yml
vendored
1
.github/workflows/action_branch.yml
vendored
@@ -10,6 +10,7 @@ name: build
|
|||||||
# When to run
|
# When to run
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
.github/workflows/action_pull_request.yml
vendored
1
.github/workflows/action_pull_request.yml
vendored
@@ -10,6 +10,7 @@ name: build
|
|||||||
# When to run
|
# When to run
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
7
.github/workflows/params-nightly_master.yml
vendored
7
.github/workflows/params-nightly_master.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
repository_default_branch: master
|
repository_default_branch: master
|
||||||
branches: master
|
branches: master
|
||||||
num_latest_tags: 0
|
num_latest_tags: 0
|
||||||
if: github.event_name == 'schedule'
|
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
||||||
- name: "[DEBUG] Show settings'"
|
- name: "[DEBUG] Show settings'"
|
||||||
run: |
|
run: |
|
||||||
@@ -74,3 +74,8 @@ jobs:
|
|||||||
echo '--------------------'
|
echo '--------------------'
|
||||||
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo 'GitHub event_name'
|
||||||
|
echo '--------------------'
|
||||||
|
echo '${{ github.event_name }}'
|
||||||
|
echo
|
||||||
|
|||||||
7
.github/workflows/params-nightly_tags.yml
vendored
7
.github/workflows/params-nightly_tags.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
repository_default_branch: master
|
repository_default_branch: master
|
||||||
branches: ""
|
branches: ""
|
||||||
num_latest_tags: 1
|
num_latest_tags: 1
|
||||||
if: github.event_name == 'schedule'
|
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
||||||
- name: "[DEBUG] Show settings'"
|
- name: "[DEBUG] Show settings'"
|
||||||
run: |
|
run: |
|
||||||
@@ -74,3 +74,8 @@ jobs:
|
|||||||
echo '--------------------'
|
echo '--------------------'
|
||||||
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo 'GitHub event_name'
|
||||||
|
echo '--------------------'
|
||||||
|
echo '${{ github.event_name }}'
|
||||||
|
echo
|
||||||
|
|||||||
7
.github/workflows/params.yml
vendored
7
.github/workflows/params.yml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
repository_default_branch: master
|
repository_default_branch: master
|
||||||
branches: master
|
branches: master
|
||||||
num_latest_tags: 1
|
num_latest_tags: 1
|
||||||
if: github.event_name == 'schedule'
|
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
||||||
- name: "[DEBUG] Show settings'"
|
- name: "[DEBUG] Show settings'"
|
||||||
run: |
|
run: |
|
||||||
@@ -74,3 +74,8 @@ jobs:
|
|||||||
echo '--------------------'
|
echo '--------------------'
|
||||||
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
echo '${{ steps.set-matrix-refs.outputs.matrix }}'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
echo 'GitHub event_name'
|
||||||
|
echo '--------------------'
|
||||||
|
echo '${{ github.event_name }}'
|
||||||
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user