From 928d88e02c2c660edff0b9f0c8da02199b4ff91d Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Tue, 12 Nov 2024 16:59:43 -0700 Subject: [PATCH 1/2] Fix to avoid deprecation warning --- .github/workflows/libtemplate-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libtemplate-update.yml b/.github/workflows/libtemplate-update.yml index 351ee3f..079d900 100644 --- a/.github/workflows/libtemplate-update.yml +++ b/.github/workflows/libtemplate-update.yml @@ -39,7 +39,7 @@ jobs: if ((git rev-list FETCH_HEAD ^HEAD --count) -eq 0) { Write-Host "There are no Library.Template updates to merge." - echo "::set-output name=uptodate::true" + echo "uptodate=true" >> $env:GITHUB_OUTPUT exit 0 } From 57a21a8bfa44e9929011aaf1cece5b86fadfbc5d Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Tue, 12 Nov 2024 17:12:02 -0700 Subject: [PATCH 2/2] Update prerequisite verbiage --- .github/workflows/libtemplate-update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/libtemplate-update.yml b/.github/workflows/libtemplate-update.yml index 079d900..b0fdd16 100644 --- a/.github/workflows/libtemplate-update.yml +++ b/.github/workflows/libtemplate-update.yml @@ -1,8 +1,8 @@ name: Library.Template update -# PREREQUISITE: This workflow requires the repo to be configured to allow workflows to push commits and create pull requests. +# PREREQUISITE: This workflow requires the repo to be configured to allow workflows to create pull requests. # Visit https://github.com/USER/REPO/settings/actions -# Under "Workflow permissions", select "Read and write permissions" and check "Allow GitHub Actions to create ...pull requests" +# Under "Workflow permissions" check "Allow GitHub Actions to create ...pull requests" # Click Save. on: