Skip to content

Commit 0ddcf53

Browse files
committed
Use better defaults
1 parent c99e866 commit 0ddcf53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/github-actions-demo.yml

-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
- uses: ./ # Uses an action in the root directory.
1717
with:
1818
polarsignals_cloud_token: ${{ secrets.PSTOKEN }}
19-
labels: ref_name=${{ github.ref_name }};workflow=${{ github.workflow }};gh_run_id=${{ github.run_id }}
2019
project_uuid: 7a8644bb-3a90-4a02-be35-efcb6bba4a54
21-
github_token: ${{ secrets.GITHUB_TOKEN }}
2220
- name: Set up Go
2321
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
2422
- name: Run my little go program that does busy work.

action.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ inputs:
2323
labels:
2424
description: 'Add labels, for example branch name, branch=main'
2525
required: false
26+
default: "ref_name=${{ github.ref_name }};workflow=${{ github.workflow }};gh_run_id=${{ github.run_id }}"
2627
extra_args:
2728
description: 'Add any further arguments to the execution of the agent.'
2829
required: false
@@ -36,6 +37,7 @@ inputs:
3637
github_token:
3738
description: 'GitHub token to use for creating deployments for linking to Profiling data from pull requests.'
3839
required: false
40+
github_token: "${{ github.token }}"
3941
outputs:
4042
profiling_url:
4143
description: 'The URL to the profiling data in Polar Signals Cloud.'

0 commit comments

Comments
 (0)