Skip to content

Commit

Permalink
github/workflows/nightly: add missing action params
Browse files Browse the repository at this point in the history
- add content write permissions
- add target_commitish param

PiperOrigin-RevId: 620236628
  • Loading branch information
proppy authored and copybara-github committed Mar 29, 2024
1 parent 73a25e0 commit c375d48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly-ubuntu-22.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- cron: '0 7 * * *'
# This lets us trigger manually from the UI.
workflow_dispatch:
permissions:
contents: write

jobs:
build:
Expand Down Expand Up @@ -44,6 +46,7 @@ jobs:
if: env.TAG_EXISTS == ''
with:
tag_name: ${{ env.VERSION }}
target_commitish: ${{ github.sha }} # needed for the release to create the tag.
files: bazel-bin/dist/xls-*.*

- name: Clean Bazel Cache
Expand Down

0 comments on commit c375d48

Please sign in to comment.