From c37b659056799d6d18fa401a8f62190c86d923b6 Mon Sep 17 00:00:00 2001 From: Adam Mollis Date: Mon, 8 Jan 2024 16:46:32 -0800 Subject: [PATCH] Addressing Unity Access Permission Changes (https://docs.opensource.microsoft.com/github/apps/permission-changes/) --- .github/workflows/docs_mrtk2.yaml | 3 +++ .github/workflows/issue_labeler.yaml | 6 +++++- .github/workflows/validation_mrtk2.yaml | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs_mrtk2.yaml b/.github/workflows/docs_mrtk2.yaml index d9f7407e46f..fbf7cd654a5 100644 --- a/.github/workflows/docs_mrtk2.yaml +++ b/.github/workflows/docs_mrtk2.yaml @@ -6,6 +6,9 @@ on: pull_request: branches: [ "main" ] +permissions: + issues: read + jobs: validation: runs-on: windows-latest diff --git a/.github/workflows/issue_labeler.yaml b/.github/workflows/issue_labeler.yaml index 5f772e7b326..d0faf7b25bd 100644 --- a/.github/workflows/issue_labeler.yaml +++ b/.github/workflows/issue_labeler.yaml @@ -1,8 +1,12 @@ name: "Issue Labeling" -on: +on:g issues: types: [opened, edited] +permissions: + contents: read + issues: write + jobs: label-issue: runs-on: ubuntu-latest diff --git a/.github/workflows/validation_mrtk2.yaml b/.github/workflows/validation_mrtk2.yaml index 1e69c208990..87c7721e398 100644 --- a/.github/workflows/validation_mrtk2.yaml +++ b/.github/workflows/validation_mrtk2.yaml @@ -6,6 +6,9 @@ on: pull_request: branches: [ "main" ] +permissions: + issues: read + jobs: validation: runs-on: windows-latest