Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/collect-issues-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
collect:
runs-on: ubuntu-latest
steps:
- uses: rubykatzen/starcast/actions/collect-issues@v0.5
- uses: $/actions/collect-issues
with:
organizations: ${{ inputs.organizations }}
repositories: ${{ inputs.repositories }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/collect-pull-requests-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
collect:
runs-on: ubuntu-latest
steps:
- uses: rubykatzen/starcast/actions/collect-pull-requests@v0.5
- uses: $/actions/collect-pull-requests
with:
organizations: ${{ inputs.organizations }}
repositories: ${{ inputs.repositories }}
Expand Down
23 changes: 10 additions & 13 deletions .github/workflows/proposal-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ permissions:
issues: write
contents: write
pull-requests: write
# actions/proposal is pinned to @main below, not a version tag, while v0.9.0
# is still unreleased -- switch back to @v0.9 (matching this repo's other
# reusable workflows' pinned-tag pattern) once that tag exists.
jobs:
validate:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -102,7 +99,7 @@ jobs:
# the comment 👀 on success.
- name: Verify control comment
if: github.event_name == 'issue_comment'
uses: rubykatzen/starcast/actions/proposal@main
uses: $/actions/proposal
with:
mode: check-control-comment
repository: ${{ github.repository }}
Expand All @@ -120,7 +117,7 @@ jobs:
steps:
- name: Apply proposal
id: apply
uses: rubykatzen/starcast/actions/proposal@main
uses: $/actions/proposal
with:
mode: apply
repository: ${{ github.repository }}
Expand All @@ -132,7 +129,7 @@ jobs:
github_token: ${{ secrets.token }}
- name: Report to Telegram
if: always()
uses: rubykatzen/starcast/actions/telegram-notify@v0.6
uses: $/actions/telegram-notify
with:
chat_id: ${{ inputs.telegram_chat_id }}
bot_token: ${{ secrets.telegram_bot_token }}
Expand All @@ -152,15 +149,15 @@ jobs:
steps:
- name: Reject proposal
id: reject
uses: rubykatzen/starcast/actions/proposal@main
uses: $/actions/proposal
with:
mode: reject
repository: ${{ github.repository }}
issue_number: ${{ inputs.issue_number }}
github_token: ${{ secrets.token }}
- name: Report to Telegram
if: always()
uses: rubykatzen/starcast/actions/telegram-notify@v0.6
uses: $/actions/telegram-notify
with:
chat_id: ${{ inputs.telegram_chat_id }}
bot_token: ${{ secrets.telegram_bot_token }}
Expand All @@ -185,7 +182,7 @@ jobs:
run: 'echo "::notice::distill is not implemented yet (see #11, #13)"'
- name: Report to Telegram
if: always()
uses: rubykatzen/starcast/actions/telegram-notify@v0.6
uses: $/actions/telegram-notify
with:
chat_id: ${{ inputs.telegram_chat_id }}
bot_token: ${{ secrets.telegram_bot_token }}
Expand All @@ -209,7 +206,7 @@ jobs:
run: 'echo "::notice::rework is not implemented yet (see #11)"'
- name: Report to Telegram
if: always()
uses: rubykatzen/starcast/actions/telegram-notify@v0.6
uses: $/actions/telegram-notify
with:
chat_id: ${{ inputs.telegram_chat_id }}
bot_token: ${{ secrets.telegram_bot_token }}
Expand All @@ -228,7 +225,7 @@ jobs:
steps:
- name: Dequeue next proposal candidate
id: dequeue
uses: rubykatzen/starcast/actions/proposal@main
uses: $/actions/proposal
with:
mode: dequeue
capacity_query: ${{ inputs.capacity_query }}
Expand All @@ -239,7 +236,7 @@ jobs:
- name: Create proposal
id: propose
if: steps.dequeue.outputs.result == 'dequeued'
uses: rubykatzen/starcast/actions/proposal@main
uses: $/actions/proposal
with:
mode: propose
parent_issue_id: ${{ steps.dequeue.outputs.issue_id }}
Expand All @@ -250,7 +247,7 @@ jobs:
github_token: ${{ secrets.token }}
- name: Report to Telegram
if: always()
uses: rubykatzen/starcast/actions/telegram-notify@v0.6
uses: $/actions/telegram-notify
with:
chat_id: ${{ inputs.telegram_chat_id }}
bot_token: ${{ secrets.telegram_bot_token }}
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@
`workflow_dispatch` runs.
- `issue_number`/`comment_id` inputs on `proposal-shared.yml` change from
`type: number` to `type: string`.
- `collect-issues-shared.yml`, `collect-pull-requests-shared.yml`, and
`proposal-shared.yml` reference their sibling `actions/*` composite
actions via `$/actions/...` instead of a version-pinned
`rubykatzen/starcast/actions/...@vX`, matching the pattern
`rubykatzen/baseline`'s own shared workflows use. `$/` resolves to this
repository at the same ref the caller pinned for the shared workflow
itself, so these internal references track releases automatically and
no longer need a separate version bump (and can't drift out of sync
with it) every time one is cut.

### Fixed

Expand Down