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

Github extension does not upgrade #2600

Open
socketbox opened this issue Jan 3, 2025 · 2 comments
Open

Github extension does not upgrade #2600

socketbox opened this issue Jan 3, 2025 · 2 comments
Labels
kind/bug Something isn't working

Comments

@socketbox
Copy link

socketbox commented Jan 3, 2025

Bug report info

Act notifies of an update being available, but does not upgrade.

INFO    ️ 📣 A newer version of 'act' is available - consider ugrading to 0.2.71.           
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]            
[2025-01-03 15:23:54]» gh extension upgrade --all                                   
[act]: already up to date                                                           
[copilot]: already up to date                                                       
[sbom]: upgraded from v0.0.10 to v0.1.0                                             
[worktree]: already up to date                                                      
✓ Successfully checked extension upgrades                                           
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]            
[2025-01-03 15:23:58]» gh act --version                                             
act version 0.2.70                                                                  
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]            
[2025-01-03 15:24:08]»                                                              

Command used with act

The command that ended with a notice regarding a new version:

[2025-01-03 15:24:08]» gh act workflow_call --rebuild -s GITHUB_TOKEN=XXXXX -e inputs_tag.json --secret-file .env --var-file
 .env --env-file .env -W .github/workflows/_tag.yml                                                                                                            

The command I used in an attempt to upgrade:

gh extension upgrade --all 

Describe issue

Act notifies of an update being available, but does not upgrade when gh extension upgrade --all is issued.

Link to GitHub repository

No response

Workflow content

N/A

Relevant log output

N/A

Additional information

[2025-01-03 15:29:30]» gh extension list                                    
NAME         REPO                       VERSION                             
gh act       nektos/gh-act              v0.2.70                             
gh copilot   github/gh-copilot          v1.0.5                              
gh sbom      advanced-security/gh-sbom  v0.1.0                              
gh worktree  despreston/gh-worktree     v1.0.0                              
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]    
[2025-01-03 15:29:41]» gh extension upgrade act                             
[act]: already up to date                                                   
✓ Successfully checked extension upgrades                                   
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]    
[2025-01-03 15:29:46]» gh extension upgrade --force act                     
[act]: already up to date                                                   
✓ Successfully checked extension upgrades                                   
[origin tagging-and-releases][🅰 pbs-digi-preprod][tagging-and-releases]    
[2025-01-03 15:29:53]»                                                      
@socketbox socketbox added the kind/bug Something isn't working label Jan 3, 2025
@ChristopherHX
Copy link
Contributor

Fixed now in nektos/gh-act#12? please try again and if this is resolved close as completed.

I recommend you to take more care about sanitizing Personal Access Tokens or other Secrets in bug reports that has been removed by us, since this is a public issue tracker everyone could abuse it if GitHub didn't notify you about revoking it via GitHub Advanced Security

@socketbox
Copy link
Author

Thank you for the admonition, I will delete the token now.

Also, for what it's worth, I was able to update using this command: gh extension upgrade act

[2025-01-06 16:07:17]» gh extension upgrade act
[act]: upgraded from v0.2.70 to v0.2.71
✓ Successfully checked extension upgrades

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants