From 0fd403b104c6438a55da4d6c43f5b687bdba41ca Mon Sep 17 00:00:00 2001 From: PhilNewm Date: Tue, 26 Nov 2024 12:32:53 +0100 Subject: [PATCH] Update caller workflow references --- .github/workflows/pr_to_project.yml | 2 -- caller_workflows/addon_repo_initial_release.yml | 2 +- caller_workflows/addon_repo_release_trigger.yml | 2 +- caller_workflows/assign_pr_to_project.yml | 2 +- caller_workflows/validate_pr_labels.yml | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr_to_project.yml b/.github/workflows/pr_to_project.yml index d128e8a..8c9c984 100644 --- a/.github/workflows/pr_to_project.yml +++ b/.github/workflows/pr_to_project.yml @@ -25,7 +25,5 @@ jobs: steps: - name: Assign PR to project - env: - GH_TOKEN: ${{ secrets.token }} run: | gh project item-add ${{ inputs.project_id }} --owner ynput --url "$(gh pr view ${{ inputs.pull_request_number }} --json url -q '.url' --repo '${{ inputs.repo }}')" diff --git a/caller_workflows/addon_repo_initial_release.yml b/caller_workflows/addon_repo_initial_release.yml index 849b4f1..c1e4913 100644 --- a/caller_workflows/addon_repo_initial_release.yml +++ b/caller_workflows/addon_repo_initial_release.yml @@ -11,7 +11,7 @@ on: jobs: call-release-trigger: - uses: ynput/ops-repo-automation/.github/workflows/initial_release.yml@develop + uses: ynput/ops-repo-automation/.github/workflows/initial_release.yml@main with: draft: ${{ inputs.draft }} release_overwrite: "0.1.0" diff --git a/caller_workflows/addon_repo_release_trigger.yml b/caller_workflows/addon_repo_release_trigger.yml index caa1075..93d539a 100644 --- a/caller_workflows/addon_repo_release_trigger.yml +++ b/caller_workflows/addon_repo_release_trigger.yml @@ -15,7 +15,7 @@ on: jobs: call-release-trigger: - uses: ynput/ops-repo-automation/.github/workflows/release_trigger.yml@develop + uses: ynput/ops-repo-automation/.github/workflows/release_trigger.yml@main with: draft: ${{ inputs.draft }} release_overwrite: ${{ inputs.release_overwrite }} diff --git a/caller_workflows/assign_pr_to_project.yml b/caller_workflows/assign_pr_to_project.yml index 86707fc..4bb3d17 100644 --- a/caller_workflows/assign_pr_to_project.yml +++ b/caller_workflows/assign_pr_to_project.yml @@ -6,7 +6,7 @@ on: jobs: auto-assign-pr: - uses: ynput/ops-repo-automation/.github/workflows/pr_to_project.yml@develop + uses: ynput/ops-repo-automation/.github/workflows/pr_to_project.yml@main with: repo: "${{ github.repository }}" project_id: 16 diff --git a/caller_workflows/validate_pr_labels.yml b/caller_workflows/validate_pr_labels.yml index 00e5742..f25e263 100644 --- a/caller_workflows/validate_pr_labels.yml +++ b/caller_workflows/validate_pr_labels.yml @@ -9,7 +9,7 @@ on: jobs: validate-type-label: - uses: ynput/ops-repo-automation/.github/workflows/validate_pr_labels.yml@develop + uses: ynput/ops-repo-automation/.github/workflows/validate_pr_labels.yml@main with: repo: "${{ github.repository }}" pull_request_number: ${{ github.event.pull_request.number }}