Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support actions triggered by a tag not working #150

Open
rgaiacs opened this issue Jul 25, 2023 · 3 comments
Open

Support actions triggered by a tag not working #150

rgaiacs opened this issue Jul 25, 2023 · 3 comments

Comments

@rgaiacs
Copy link

rgaiacs commented Jul 25, 2023

Related issue: #60

Related PR: #96

After I create a local tag (v0.1.5) and push it to the repository, GitHub Actions is trigger but I end up with

Run helm/[email protected]
Run owner=$(cut -d '/' -f 1 <<< "$GITHUB_REPOSITORY")
Looking up latest tag...
Discovering changed charts since 'v0.1.5'...
Nothing to do. No chart changes detected.

v0.1.5 was the latest tag (see https://github.com/GESIS-Methods-Hub/andrew-django-admin/actions/runs/5654060646/job/15316375374). Am I missing something?

@davidkarlsen
Copy link
Member

You need to use fetch-depth 0 to fetch all revisions.

@rgaiacs
Copy link
Author

rgaiacs commented Jul 26, 2023

Thanks @davidkarlsen for the reply. I was already using fetch-depth: 0 and the log showed all the tags being collected:

From https://github.com/GESIS-Methods-Hub/andrew-django-admin
   * [new branch]      main       -> origin/main
   * [new tag]         v0.1.0     -> v0.1.0
   * [new tag]         v0.1.1     -> v0.1.1
   * [new tag]         v0.1.2     -> v0.1.2
   * [new tag]         v0.1.3     -> v0.1.3
   * [new tag]         v0.1.4     -> v0.1.4
   * [new tag]         v0.1.5     -> v0.1.5

The problem persists.

@edmondop
Copy link

edmondop commented Aug 5, 2023

@rgaiacs did you find a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants