Apache DataFusion SQL Query Engine
ci: Checkout repo first in the Release Version Labeler workflow (#25845)
Nuno Fariac76bc3bc2920
diff --git a/.github/workflows/release_version_labeler.yaml b/.github/workflows/release_version_labeler.yamlindex d2ab0c6fc0..1e44ad842c 100644--- a/.github/workflows/release_version_labeler.yaml+++ b/.github/workflows/release_version_labeler.yaml@@ -37,8 +37,10 @@ jobs:runs-on: ubuntu-slimpermissions:pull-requests: write+ contents: readsteps:- - name: Add the target release version+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ - name: Add the target release versionuses: actions/[email protected]with:script: |diff --git a/ci/scripts/release_version_labeler.js b/ci/scripts/release_version_labeler.jsindex 54a6ac6825..78d17d5671 100644--- a/ci/scripts/release_version_labeler.js+++ b/ci/scripts/release_version_labeler.js@@ -29,14 +29,14 @@ module.exports = async ({ github, context }) => {});} catch (error) {if (error.status === 404) {- await github.rest.issues.createLabel({- owner: context.repo.owner,- repo: context.repo.repo,- name: target_version,- color: '222222'- });+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: target_version,+ color: '222222'+ });} else {- throw error;+ throw error;}}