From ccf8c36db4cef74fe227138c574c47cba90a87a5 Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Mon, 26 Jan 2026 11:29:54 +0100 Subject: [PATCH] Bump setup-python to a more recent version When using this workflow we face errors raised by Github as follows: "The action actions/setup-python@v2 is not allowed in DataDog/datadog-agent because all actions must be from a repository owned by your enterprise, created by GitHub, verified in the GitHub Marketplace, or match one". Even if we should not have errors here I suppose bumping the version can fix the issue we see --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 051e013..80476be 100644 --- a/action.yml +++ b/action.yml @@ -42,7 +42,7 @@ runs: run: echo "::add-mask::${{ inputs.github-token }}" shell: bash - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: '3.9' - name: Install dependencies @@ -71,4 +71,4 @@ runs: shell: bash env: REMOTE_NAME: ${{ inputs.remote_name }} - REMOTE_BRANCH_NAME: ${{ inputs.remote_branch_name }} \ No newline at end of file + REMOTE_BRANCH_NAME: ${{ inputs.remote_branch_name }}