Skip to content

Commit ec9078d

Browse files
committed
permission conf and removed deprecated use of set-output
1 parent 2723816 commit ec9078d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/bump-cli.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
schedule:
99
- cron: 0 0 */14 * * # run every 14 days
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
1115
jobs:
1216
build:
1317
name: Build

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ jobs:
191191
uses: actions/checkout@v3
192192
- name: Set the variables
193193
id: set-variables
194-
run: echo "::set-output name=cli-versions::$(cat ./supported_cli_versions.json | jq)"
194+
run: echo "cli-versions=$(cat ./supported_cli_versions.json | jq -rc)" >> $GITHUB_OUTPUT
195195
outputs:
196196
cli-versions: ${{ steps.set-variables.outputs.cli-versions }}
197197
cli-test:

0 commit comments

Comments
 (0)