mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
derp
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
52cce46cd8
commit
53a08e5ab6
1 changed files with 9 additions and 4 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -12,7 +12,9 @@ concurrency:
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -34,7 +36,7 @@ jobs:
|
|||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
if: steps.changed-files.outputs.files == 'true'
|
||||
|
||||
- uses: actions/github-script@v6
|
||||
- uses: actions/github-script@v7
|
||||
id: get_pr_data
|
||||
with:
|
||||
script: |
|
||||
|
@ -46,8 +48,11 @@ jobs:
|
|||
})
|
||||
).data[0];
|
||||
|
||||
- name: Issue number
|
||||
run: echo '${{steps.get_pr_data.outputs.result}}'
|
||||
- name: Pull Request data
|
||||
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
|
||||
id: build
|
||||
|
|
Loading…
Reference in a new issue