2023-10-16 16:43:01 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-10-16 17:35:29 +00:00
|
|
|
ls:
|
|
|
|
runs-on: docker
|
2023-10-16 18:08:28 +00:00
|
|
|
container:
|
|
|
|
image: git.php.fail/lubiana/container/php:8.2
|
2023-10-16 17:03:17 +00:00
|
|
|
steps:
|
2023-10-16 18:08:28 +00:00
|
|
|
- run: env | sort
|
2023-10-16 18:16:48 +00:00
|
|
|
- run: /usr/bin/git init $GITHUB_WORKSPACE
|
|
|
|
- run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
2023-10-16 18:23:35 +00:00
|
|
|
- run: /usr/bin/git config --local gc.auto 0
|
2023-10-16 18:25:50 +00:00
|
|
|
- run: "/usr/bin/git config --local http.https://git.php.fail/.extraheader AUTHORIZATION: basic $GITHUB_TOKEN"
|
2023-10-16 18:23:35 +00:00
|
|
|
- run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME
|
|
|
|
|