Skip to content

Commit 1b3275b

Browse files
Fixed "Nightly downstream" workflow (#1841)
Signed-off-by: Katherine Hough <[email protected]>
1 parent 22ec178 commit 1b3275b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Nightly downstream
1+
name: Nightly Build Downstream Dependencies
22
on:
33
workflow_dispatch:
44
schedule:
@@ -10,8 +10,11 @@ env:
1010
CARGO_TERM_COLOR: always
1111
jobs:
1212
build-cedar-java:
13-
needs: get-branch-name
1413
uses: cedar-policy/cedar-java/.github/workflows/run_cedar_java_reusable.yml@main
1514
with:
16-
cedar_policy_ref: 'main'
17-
cedar_java_ref: 'main'
15+
# The fully-formed ref of the branch or tag that triggered the workflow run.
16+
cedar_policy_ref: ${{ github.ref }}
17+
# Since this workflow is not triggered by pull request events,
18+
# this will be the short ref name of the branch or tag that triggered the workflow run.
19+
# For more information see: https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#github-context
20+
cedar_java_ref: ${{ github.ref_name }}

0 commit comments

Comments
 (0)