Compare commits

..

2 Commits

Author SHA1 Message Date
Alfonso Acosta
6cb1c59256 Merge f6b63ceb9e into cbb722410c 2024-11-18 14:39:22 +01:00
Alfonso Acosta
f6b63ceb9e Make 'checkout pull request HEAD' example work for non-PRs 2022-03-02 20:23:19 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
uses: actions/publish-immutable-action@0.0.3

View File

@@ -48,7 +48,7 @@ jobs:
# Use `docker/build-push-action` to build (and optionally publish) the image.
- name: Build Docker Image (with optional Push)
uses: docker/build-push-action@v6.10.0
uses: docker/build-push-action@v6.5.0
with:
context: .
file: images/test-ubuntu-git.Dockerfile

View File

@@ -252,7 +252,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
```yaml
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.sha || github.ref }}
```
## Checkout pull request on closed event