derp
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
52cce46cd8
commit
53a08e5ab6
|
@ -12,7 +12,9 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions: write-all
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: read
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -34,7 +36,7 @@ jobs:
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
if: steps.changed-files.outputs.files == 'true'
|
if: steps.changed-files.outputs.files == 'true'
|
||||||
|
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
id: get_pr_data
|
id: get_pr_data
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
@ -46,8 +48,11 @@ jobs:
|
||||||
})
|
})
|
||||||
).data[0];
|
).data[0];
|
||||||
|
|
||||||
- name: Issue number
|
- name: Pull Request data
|
||||||
run: echo '${{steps.get_pr_data.outputs.result}}'
|
run: |
|
||||||
|
echo '${{ fromJson(steps.get_pr_data.outputs.result).number }}'
|
||||||
|
echo '${{ fromJson(steps.get_pr_data.outputs.result).title }}'
|
||||||
|
echo '${{steps.get_pr_data.outputs.result}}'
|
||||||
|
|
||||||
- name: Run ko build
|
- name: Run ko build
|
||||||
id: build
|
id: build
|
||||||
|
|
Loading…
Reference in New Issue