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

Error: Bad credentials #42

Open
chaturvedisumit opened this issue Sep 27, 2023 · 0 comments
Open

Error: Bad credentials #42

chaturvedisumit opened this issue Sep 27, 2023 · 0 comments

Comments

@chaturvedisumit
Copy link

chaturvedisumit commented Sep 27, 2023

I am running the labeler WF on an enterprise repo and it gives me the bad credentials error.

While running the same on a personal repo, it works smoothly. Not able to debug the issue.

Workflow :

name: PR Branch Labeler

on: pull_request

jobs:
  label_prs:
    runs-on: [<runner labels>]
    steps:
    - name: Label PRs
      if: github.event.action == 'opened' # Only run the action when the PR was first opened
      uses: ffittschen/pr-branch-labeler@v1
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}

Config :

# Apply label "feature" if head matches "feature/*"
major:
  head: feature/*

# Apply label "bugfix" if head matches "bugfix/*"
minor:
  head: "bugfix/*"

patch:
  head: "hotfix/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant