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

Add 'skip-commit-verification' as an input for GitHub Enterprise Server users #225

Merged
merged 4 commits into from Jun 30, 2022

Conversation

brrygrdn
Copy link
Member

@brrygrdn brrygrdn commented Jun 30, 2022

Dependabot is not a verified committer by default in GitHub Enterprise Server, so this action currently cannot be used as it always expects commits to be signed before acting.

In order to support using this action in GHES, let's permit this verification step - and only this verification step - to be skipped via workflow configuration, e.g.

-- .github/workflows/dependabot-prs.yml
name: Dependabot Pull Request
on: pull_request_target
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Fetch Dependabot metadata
      id: dependabot-metadata
      uses: dependabot/fetch-metadata@v1.3.1
      with:
        alert-lookup: true
        compat-lookup: true
        github-token: "${{ secrets.PAT_TOKEN }}"
        skip-commit-verification: true

@brrygrdn brrygrdn requested a review from a team as a code owner Jun 30, 2022
pavera
pavera approved these changes Jun 30, 2022
@brrygrdn brrygrdn merged commit cfb7274 into main Jun 30, 2022
5 checks passed
@brrygrdn brrygrdn deleted the brrygrdn/skip-commit-verification branch Jun 30, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants