Skip to content

Commit

Permalink
Propogate GH token to permit push
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
  • Loading branch information
Alan Jowett committed May 6, 2024
1 parent 5c07711 commit ee8ab0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Fuzzing

permissions:
contents: write # Required to update the corpus
contents: read

on:
workflow_call:
Expand All @@ -18,6 +18,11 @@ on:
required: true
type: string

secrets:
GITHUB_TOKEN:
description: 'Token to push changes to the repository'
required: true

jobs:
build:
runs-on: ${{ inputs.platform }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Main

permissions:
contents: write
contents: read
security-events: write # Required by codeql task.

on:
Expand Down Expand Up @@ -315,6 +315,8 @@ jobs:
with:
arch: x86_64
platform: ubuntu-latest
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Disabled until https://github.com/iovisor/ubpf/issues/155 is resolved.
# linux_debug_arm64_sanitizers:
Expand Down

0 comments on commit ee8ab0b

Please sign in to comment.