gitlab-ci-action icon indicating copy to clipboard operation
gitlab-ci-action copied to clipboard

Fails with "missing gitlab-ci config"

Open danieldunderfelt opened this issue 5 years ago • 5 comments

I tried to use this action in a Github actions workflow, but despite following the instructions and giving all the parameters, it always fails with "missing gitlab-ci config". Am I missing something?

The pipeline runs fine on Gitlab when I trigger it manually, I am not missing a gitlab-ci config.

danieldunderfelt avatar Feb 07 '20 07:02 danieldunderfelt

I ran into the same issue and it was because I passed a wrong variable name to the docker. We should set GITLAB_PROJECT_ID instead of GITLAB_ID (the example in the README is incorrect).

billux avatar Nov 27 '20 10:11 billux

What is the use case here? why would you want to trigger GitLab pipeline from GH Actions?

itzikgb avatar Dec 03 '20 07:12 itzikgb

@billux were you able to resolve this for pull requests? It is working when I (as the project owner) push a commit, but when a pull request receives a commit, it gives the same error.

I don't see either GITLAB_ID or GITLAB_PROJECT_ID in the output of the job.

Just-Insane avatar Mar 17 '21 17:03 Just-Insane

maybe see the reference: https://securitylab.github.com/research/github-actions-preventing-pwn-requests

appleboy avatar Mar 18 '21 13:03 appleboy

Ah, that makes a lot of sense, thanks for the information!

Just-Insane avatar Mar 18 '21 14:03 Just-Insane