[GH-ISSUE #234] Support v1 being a branch #160

Closed
opened 2026-03-01 21:40:45 +03:00 by kerem · 17 comments
Owner

Originally created by @eregon on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/234

Just like GitHub Actions supports using my/action@branch.

Same as https://github.com/nektos/act/issues/101#issuecomment-628281226 but a new issue as that one was closed.

Originally created by @eregon on GitHub (May 13, 2020). Original GitHub issue: https://github.com/nektos/act/issues/234 Just like GitHub Actions supports using `my/action@branch`. Same as https://github.com/nektos/act/issues/101#issuecomment-628281226 but a new issue as that one was closed.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 14, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:657894330 --> @github-actions[bot] commented on GitHub (Jul 14, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@eregon commented on GitHub (Jul 14, 2020):

Not stale (AFAIK).

<!-- gh-comment-id:658071902 --> @eregon commented on GitHub (Jul 14, 2020): Not stale (AFAIK).
Author
Owner

@eregon commented on GitHub (Jul 17, 2020):

BTW I noticed the template for JS actions recommends a v1 branch:
https://github.com/actions/javascript-action#create-a-release-branch

<!-- gh-comment-id:660259995 --> @eregon commented on GitHub (Jul 17, 2020): BTW I noticed the template for JS actions recommends a `v1` branch: https://github.com/actions/javascript-action#create-a-release-branch
Author
Owner

@github-actions[bot] commented on GitHub (Sep 16, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:693098127 --> @github-actions[bot] commented on GitHub (Sep 16, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@eregon commented on GitHub (Sep 16, 2020):

Not stale (AFAIK).

<!-- gh-comment-id:693261040 --> @eregon commented on GitHub (Sep 16, 2020): Not stale (AFAIK).
Author
Owner

@jeffdoolittle commented on GitHub (Oct 7, 2020):

I'd really like to see this working as well.

<!-- gh-comment-id:705229656 --> @jeffdoolittle commented on GitHub (Oct 7, 2020): I'd really like to see this working as well.
Author
Owner

@Sheeri commented on GitHub (Oct 16, 2020):

+1

<!-- gh-comment-id:710112518 --> @Sheeri commented on GitHub (Oct 16, 2020): +1
Author
Owner

@tadman commented on GitHub (Nov 11, 2020):

Keep bumping into this when trying to use a common action:

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.7'

Here v1 is a branch, not a tag.

<!-- gh-comment-id:725050796 --> @tadman commented on GitHub (Nov 11, 2020): Keep bumping into this when trying to use a common action: ```yaml - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' ``` Here [`v1` is a branch](https://github.com/ruby/setup-ruby/tree/v1), not a tag.
Author
Owner

@cristianmtr commented on GitHub (Nov 13, 2020):

Is there at least a workaround for this?

I am trying

jobs:
  some-task:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true
      - uses: actions/setup-python@v1
        with:
          python-version: 3.7
      - run: |
          echo "works!!!!"
...

and get Unable to resolve v1: reference not found

<!-- gh-comment-id:726730540 --> @cristianmtr commented on GitHub (Nov 13, 2020): Is there at least a workaround for this? I am trying ``` jobs: some-task: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: submodules: true - uses: actions/setup-python@v1 with: python-version: 3.7 - run: | echo "works!!!!" ... ``` and get `Unable to resolve v1: reference not found`
Author
Owner

@github-actions[bot] commented on GitHub (Jan 13, 2021):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:759131704 --> @github-actions[bot] commented on GitHub (Jan 13, 2021): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@eregon commented on GitHub (Jan 13, 2021):

Not stale.

<!-- gh-comment-id:759385294 --> @eregon commented on GitHub (Jan 13, 2021): Not stale.
Author
Owner

@lufia commented on GitHub (Jan 15, 2021):

@eregon I think this has probably fixed at current main branch sources. Have a try.

<!-- gh-comment-id:761112864 --> @lufia commented on GitHub (Jan 15, 2021): @eregon I think this has probably fixed at current main branch sources. Have a try.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 19, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:781725587 --> @github-actions[bot] commented on GitHub (Feb 19, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@TheCleric commented on GitHub (Feb 19, 2021):

Not stale.

<!-- gh-comment-id:781746230 --> @TheCleric commented on GitHub (Feb 19, 2021): Not stale.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 22, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:803691092 --> @github-actions[bot] commented on GitHub (Mar 22, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@TheCleric commented on GitHub (Mar 22, 2021):

Not stale.

<!-- gh-comment-id:803704329 --> @TheCleric commented on GitHub (Mar 22, 2021): Not stale.
Author
Owner

@catthehacker commented on GitHub (Apr 2, 2021):

This should have been fixed already by #433.

<!-- gh-comment-id:812279507 --> @catthehacker commented on GitHub (Apr 2, 2021): This should have been fixed already by #433.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#160
No description provided.