diff --git a/.github/workflows/call.yml b/.github/workflows/call.yml new file mode 100644 index 0000000..36cb82f --- /dev/null +++ b/.github/workflows/call.yml @@ -0,0 +1,14 @@ +name: call + +on: + workflow_call: + +jobs: + job1: + name: test + runs-on: ubuntu-latest + steps: + - name: test + run: | + echo ${{ github.event_name}} + diff --git a/.github/workflows/f.yml b/.github/workflows/f.yml index 5c0ad98..731d495 100644 --- a/.github/workflows/f.yml +++ b/.github/workflows/f.yml @@ -25,6 +25,7 @@ jobs: - name: Update paddle run: | set -x + echo ${{ github.event_name }} echo "${{ github.event.pull_request }}" echo ${{ secrets.AK }} echo second @@ -51,6 +52,10 @@ jobs: echo "${{ toJson(github) }}" echo "${{ github.event.pull_request }}" + job4: + name: forth + uses: ./.github/workflows/call.yml +