Skip to content

Commit

Permalink
Fix Token Permission issues (intel-analytics#10151)
Browse files Browse the repository at this point in the history
Co-authored-by: Your Name <Your Email>
  • Loading branch information
liu-shaojun authored Feb 18, 2024
1 parent e6d2da4 commit 9533887
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/chronos-example-python-spark31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

# Controls when the action will run.
on:
# Triggers the workflow on merge events for nano/orca change
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/chronos-howto-guides-python-spark31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ name: Chronos Tests for How-to Guides Spark3.1 py38 py39
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true


permissions:
contents: read

# Controls when the action will run.
on:
# Triggers the workflow on pull request events but only for the main branch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/chronos-nb-python-spark31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

env:
GIST_ID: bc8a699b455bced4a1aef138ad5df07e

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/chronos-notebook-python-spark31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

# Controls when the action will run.
on:
schedule:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/chronos-prvn-python-spark31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

# Controls when the action will run.
on:
# Triggers the workflow on merge events for nano/orca change
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/llm-harness-evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ concurrency:
group: ${{ github.workflow }}-llm-nightly-test-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

# Controls when the action will run.
on:
schedule:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nightly-build-example-tests-ppml.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Nightly Build Example Tests PPML Spark Local on Graphene

permissions:
contents: read

on:
schedule:
- cron: '0 17 * * *'
Expand Down Expand Up @@ -33,8 +36,6 @@ on:
jobs:
example-tests-ppml:
runs-on: [self-hosted, SGX, Wilwarin]
permissions:
contents: read

steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/scala-style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ name: Scala Style Check
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true


permissions:
contents: read

on:
push:
branches: [ "main" ]
Expand All @@ -25,8 +28,6 @@ jobs:
build:

runs-on: [self-hosted, Gondolin, ubuntu-20.04-lts]
permissions:
contents: read

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 9533887

Please sign in to comment.