diff --git a/.github/workflows/create-repository-dispatch.yml b/.github/workflows/create-repository-dispatch.yml index 55ad605..bf35f66 100644 --- a/.github/workflows/create-repository-dispatch.yml +++ b/.github/workflows/create-repository-dispatch.yml @@ -4,7 +4,7 @@ jobs: createRepositoryDispatch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Repository Dispatch uses: ./ with: diff --git a/.github/workflows/on-repository-dispatch.yml b/.github/workflows/on-repository-dispatch.yml index 162bbde..194adaf 100644 --- a/.github/workflows/on-repository-dispatch.yml +++ b/.github/workflows/on-repository-dispatch.yml @@ -6,7 +6,7 @@ jobs: tests: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: ref: ${{ github.event.client_payload.ref }} - run: echo ${{ github.event.client_payload.sha }} diff --git a/README.md b/README.md index f516be3..ed3e5ea 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ jobs: myEvent: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: ref: ${{ github.event.client_payload.ref }} - run: echo ${{ github.event.client_payload.sha }}