Questions tagged [github-actions]
GitHub Actions allows you to easily automate your software workflows. Use this tag for questions regarding help on creating a workflow. If you need help on GitHub Actions in general, consider contacting GitHub by emailing their support (support.github.com/contact) or by asking in GitHub's Community Forum (github.com/orgs/community/discussions.
github-actions
10,793
questions
0
votes
1
answer
11
views
How to synchronize changes from a source repo to a destination repo triggered from a push to the source main except some files
I want to synchronize changes from a source repository to a destination repository whenever there is a push to the main branch of the source repository. However, I do not want to sync changes to the ...
0
votes
1
answer
9
views
Quarto / RStudio Github Actions: Update GitHub token
I made a Quarto website that automatically updates every day using Github actions. So far, it went well, but then I got a notification that the GitHub Token expired. Afterwards, I get this error when ...
-1
votes
1
answer
10
views
How to store artifact link from workflow logs
My step in workflow:
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
id: upload-artifact
with:
name: playwright-report
path: |
playwright-report/
test-results
...
0
votes
0
answers
10
views
Issue with using custom Image from Google Artifact Registry to run Github workflow using Workload Identity Federation
I use Workload Identity Federation for keyless Authentication in my Workflow.
I have been trying to use my custom image in my github workflow in the following way;
jobs:
setup_and_authenticate:
...
0
votes
1
answer
35
views
How to extract non-sensitive secrets from a Terraform file and set them as environment variables?
I am working with a Terraform file that declares secrets as either sensitive or non-sensitive. My objective is to extract only the non-sensitive secrets and set them as environment variables for ...
-1
votes
1
answer
13
views
GitHub Action has stopped to schedule the workflow that was successfully running for 6 months
My GitHub Action workflow has the following triggers:
workflow dispatch;
schedule using a cron expression: "0 12 * * 1,2,4".
It was scheduling the workflow for about 6 months, but it just ...
-1
votes
0
answers
17
views
How to cache build folder generated by Docusaurus in GitHub Actions?
I have a Docusaurus project which, when I run locally with npm run build for the first time, takes 727 seconds to build. Once the build folder is already generated, running npm run build takes only ...
-1
votes
0
answers
13
views
I am facing issue while logging to github. I have lost my 2FA authentication and also not able to get authentication code. is There any other way?
I am facing issue while logging to github. I have lost my 2FA authentication and also not able to get authentication code. is There any other way to login to github? because I am unable to provide 2FA ...
0
votes
1
answer
30
views
GitHub Actions cannot pass variable to the next job
I have the following GitHub Actions, I want to pass lastNotificationMessage from deploy job to the next job (for the details please check the screenshots):
jobs:
deploy:
runs-on: ubuntu-latest
...
1
vote
1
answer
41
views
Rails Custom Middleware not being recognized in GH CI
I'm using custom middle ware for the first time to normalize error handling. I have my middleware defined in app/middleware/error_handler.rb and using in my main application.rb
...
require_relative &...
0
votes
0
answers
15
views
npm build for github pages links requests to base url instead of sub url
Running npm build using github actions and then deploying to github pages using my gh-pages branch. The index.html file loads fine from https://user.github.io/, but all other http requests go to that ...
-1
votes
1
answer
43
views
Azure Functions Python PIP issue
I have an azure functions app running on [email protected]
I need to use requests module, so at the top of the .py file I've added 'import requests'. I've also added requests to requirements.txt.
I have CI/...
0
votes
0
answers
16
views
How do I fix the astro build error on github pages?
I am trying to deploy my astro site to github pages. I followed all steps in the official astro article, still I am facing the following issue.
build
Error: No pnpm version is specified.
Please ...
0
votes
0
answers
11
views
Gitea Workflow runs twice when opening PR through the API
I've got my own instance of Gitea hosted on a computer. Recently, I've added a workflow to a repository that triggers whenever a pull request is opened, reopened or synchronized that computes a ...
0
votes
1
answer
22
views
Set branch for scheduled runs, retain ability to select branch for manual runs
How can I control which branch a scheduled GitHub Actions job runs on by default, while retaining the ability to manually run the same job on a branch of my choice?
I currently have the following:
on:
...