Skip to content

Commit 049ebac

Browse files
committed
fix: github-token missing
1 parent a31a674 commit 049ebac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jobs/increment-variable/action.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ inputs:
1313
description: "Whether the build-number will be increment or not"
1414
required: false
1515
default: 'false'
16+
github-token:
17+
description: "Github token to use to update the variable"
18+
required: true
1619
outputs:
1720
build-number:
1821
description: "The next build number to build"
@@ -25,6 +28,7 @@ runs:
2528
name: Increment Variable
2629
uses: actions/github-script@v6
2730
with:
31+
github-token: ${{ inputs.github-token }}
2832
result-encoding: string
2933
script: |
3034
const var_name = 'BUILD_NUMBER'

0 commit comments

Comments
 (0)