Skip to content

Commit

Permalink
Update caller workflow references
Browse files Browse the repository at this point in the history
  • Loading branch information
philnewm committed Nov 26, 2024
1 parent 45c069b commit 0fd403b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pr_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}')"
2 changes: 1 addition & 1 deletion caller_workflows/addon_repo_initial_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion caller_workflows/addon_repo_release_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion caller_workflows/assign_pr_to_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion caller_workflows/validate_pr_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 0fd403b

Please sign in to comment.