Skip to content

Commit

Permalink
Explicitly define write permission for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorHack committed Oct 23, 2024
1 parent 4346db0 commit b7ac820
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gha_workflow_llama_models_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,21 @@ on:

api_key:
description: 'Provider API key'
required: true
required: false
default: "---"

env:
TOKENIZER_PATH: "models/llama3/api/tokenizer.model"
MODELS_PATH: "/data/llama3.2"
VISION_MODEL_CHECKPOINT_DIR: "/data/llama3.2/${{ inputs.model_vision }}"
TEXT_MODEL_CHECKPOINT_DIR: "/data/llama3.2/${{ inputs.model_text }}"
API_KEY: "${{ inputs.api_key }}"
API_KEY: "${{ inputs.api_key || '' }}"

jobs:
execute_workflow:
name: Execute workload on Self-Hosted CPU k8s runner
permissions:
pull-requests: write
defaults:
run:
shell: bash # default shell to run all steps for a given job.
Expand Down

0 comments on commit b7ac820

Please sign in to comment.