179 questions
0
votes
1
answer
34
views
How to share a node script and run it from a shared github workflow
I'm writting a shared github workflow meant to be reused (ex: my-username/my-repo/.github/workflows/my-workflow.yml).
And in another repository:
jobs:
my-job:
uses: my-username/my-repo/.github/...
0
votes
1
answer
206
views
facing docker login requirement , to avoid rate limit while running sonar scan in github action
Problem is github action trying to fetch docker images a building step, even before my defined steps are run.
so here is my defined step
jobs:
security-scans:
name: Security Scans
# needs: ...
0
votes
1
answer
49
views
How to import a type from a non-main file?
What research have I tried to do? This feels like a very basic question, but trying to research it has yielded a wealth of irrelevant content tangentially related to the keywords, multiple attempts at ...
1
vote
1
answer
7k
views
Fastlane - No certificate for team 'XXXXXX' matching 'Apple Distribution: COMPANY_NAME (XXXXXX)'
I am new in implementing fastlane with guthub actions and tried to make the ios build automate.
Steps which I followed.
Github Actions - (Repo checkout, Flutter setup, Import Certificates in keychain,...
0
votes
0
answers
50
views
Success or failure for JavaScript actions
In composite actions, I can use status functions to add a condifion to some steps, e.g. if: success() or if: failure().
I need post action, and I can't add post to composite actions. That's why I ...
0
votes
0
answers
76
views
security: SecKeychainItemSetAccessWithPassword: The user name or passphrase you entered is not correct
I'm working with fastlane + GitHub Actions.
test job complete successfully, but when I'm going for build and archive project - I have error when try to archive.
this is my fastfile:
...
0
votes
1
answer
93
views
How to share dependencies installation with reusable workflow in github actions
This is my setup.yml for one reusable workflow
on:
workflow_call:
secrets:
ssh_private_key:
required: true
known_hosts:
required: true
jobs:
setup:
name: '...
0
votes
0
answers
39
views
Is a docker image pulled and commands executed locally when an external github action is called?
I am curious how an external github action acts on my repo when it is called in a github actions workflow. Suppose I call an external action, let's call it thirdparty/thirdpartyaction@v1, how does it ...
-1
votes
1
answer
48
views
Unable to trigger GitHub action with "uses:"
I'm pretty sure I'm misunderstanding something here about how GitHub actions work and would love some help. When this debugging.yml action runs on pull_request it looks to see if any files have ...
0
votes
1
answer
421
views
Error with ContainerConfig in GitHub Actions
I'm currently trying to deploy on Google Cloud Engine (GCE) using a Makefile and docker-compose.yml.
When I execute the command make community-update on the GCE server, everything works fine. However,...
1
vote
0
answers
216
views
Build images in different jobs (amd64 & arm64) and push them together
I want to build images in different jobs. To build the arm64 one in a self hosted runner, how can I push them together, so they won't overwrite?
name: Docker build and publish
on:
workflow_dispatch:...
2
votes
0
answers
245
views
GithubActions - PlatformError: X11: The DISPLAY environment variable is missing
I'm trying to create Github Actions for my repo on Github.
Everything works fine, until actions come to testing because I have this error:
Run cd tests && go test . -v
go: downloading github....
0
votes
1
answer
436
views
Create a pull request from a github action without the "Allow GitHub Actions to create and approve pull requests" enabled
I'm wondering if it would be possible to create a pull request without the option
enabled
it might sound counter-intuitive, but I cannot change that easily (for production repos) and was wondering ...
1
vote
1
answer
2k
views
Github Composite Action to run Python script in repo
I have a Python script that scrapes files to search for a regex pattern. I would like to run this script using a Github Action. Furthermore, I want this same action and script to be used in several ...
0
votes
1
answer
263
views
How to get run_id in a Javascript-based GitHub action?
I'm trying to retrieve the run ID from the context object. However, all my attempts are in vain. The output of the following tries is undefined. Here's the relevant snippet:
const context = core....