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

To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable #7

Closed
1 task
brettcurtis opened this issue Nov 23, 2022 · 0 comments · Fixed by #8
Closed
1 task
Assignees

Comments

@brettcurtis
Copy link
Contributor

Description

Run gh pr review --approve "$PR_URL"
  gh pr review --approve "$PR_URL"
  shell: /usr/bin/bash -e {0}
  env:
    PR_URL: https://github.com/osinfra-io/google-cloud-hierarchy/pull/18
    github-token: ***
gh: To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable. Example:
  env:
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Error: Process completed with exit code [4](https://github.com/osinfra-io/google-cloud-hierarchy/actions/runs/3534006110/jobs/5930367205#step:3:4).

Acceptance

  • dependabot.yml workflow successful

Implementation Notes

Additional Context

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