From 07a727c3415f8994e8f815b7122e1336cdd622d1 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Sun, 20 Nov 2022 18:17:10 +0100 Subject: [PATCH] MAINT: use `GITHUB_OUTPUT` instead of `set-output` https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/requirements-pr.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/requirements-pr.yml b/.github/workflows/requirements-pr.yml index 16276ca8..7105072a 100644 --- a/.github/workflows/requirements-pr.yml +++ b/.github/workflows/requirements-pr.yml @@ -19,7 +19,7 @@ jobs: - name: Determine dependency changes run: | DIFF="$(git diff origin/main --color -- .constraints .pre-commit-config.yaml setup.cfg)" - echo ::set-output name=diff::"${DIFF}" + echo "diff=${DIFF}" >> $GITHUB_OUTPUT id: diff outputs: diff: ${{ steps.diff.outputs.diff }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1a7528be..b28f7044 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/ComPWA/repo-maintenance - rev: 0.0.157 + rev: "afcb2ff" hooks: - id: check-dev-files args: