Skip to content

Commit 8c2cb9f

Browse files
Add variants to jobs (#1008)
Adds variants to the staging jobs. Only applies to staging, and uses a branch to avoid early public availability.
1 parent ee0aec0 commit 8c2cb9f

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/actions/action_tests/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ runs:
7676
- name: Upload staging results
7777
# TODO(Tyler): Add upload on Windows once the action supports it.
7878
if: "!cancelled() && runner.os != 'Windows' && inputs.trunk-staging-token != ''"
79-
uses: trunk-io/analytics-uploader@main
79+
uses: trunk-io/analytics-uploader@gabe/surface-variant
8080
with:
8181
junit-paths: junit.xml
8282
org-slug: trunk-staging-org
8383
token: ${{ inputs.trunk-staging-token }}
8484
quarantine: true
85+
variant: ${{ runner.os }}
8586
env:
8687
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

.github/actions/linter_tests/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,12 @@ runs:
130130
- name: Upload staging results
131131
# TODO(Tyler): Add upload on Windows once the action supports it.
132132
if: "!cancelled() && runner.os != 'Windows' && inputs.trunk-staging-token != ''"
133-
uses: trunk-io/analytics-uploader@main
133+
uses: trunk-io/analytics-uploader@gabe/surface-variant
134134
with:
135135
junit-paths: junit.xml
136136
org-slug: trunk-staging-org
137137
token: ${{ inputs.trunk-staging-token }}
138138
quarantine: true
139+
variant: ${{ runner.os }}
139140
env:
140141
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

.github/actions/tool_tests/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,12 @@ runs:
9393
- name: Upload staging results
9494
# TODO(Tyler): Add upload on Windows once the action supports it.
9595
if: "!cancelled() && runner.os != 'Windows' && inputs.trunk-staging-token != ''"
96-
uses: trunk-io/analytics-uploader@main
96+
uses: trunk-io/analytics-uploader@gabe/surface-variant
9797
with:
9898
junit-paths: junit.xml
9999
org-slug: trunk-staging-org
100100
token: ${{ inputs.trunk-staging-token }}
101101
quarantine: true
102+
variant: ${{ runner.os }}
102103
env:
103104
TRUNK_PUBLIC_API_ADDRESS: https://api.trunk-staging.io

actions/poetry/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SYSTEM environment, rather than a hermetic setup. This is because Poetry provide
77
environment management that will often collide with Trunk's hermetic setup. Nevertheless, leveraging
88
Poetry and Trunk in parallel can be powerful.
99

10-
Trunk provides 4 different Actions for running Poetry validation, matching parity with
10+
Trunk provides 4 different Actions for running your Poetry validation, matching parity with
1111
[Poetry pre-commit hooks](https://python-poetry.org/docs/pre-commit-hooks/).
1212

1313
| action | description |

0 commit comments

Comments
 (0)