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

Configured but not signing #469

Open
cjhelloletsgo opened this issue Aug 27, 2024 · 0 comments
Open

Configured but not signing #469

cjhelloletsgo opened this issue Aug 27, 2024 · 0 comments

Comments

@cjhelloletsgo
Copy link

Is there an extra step I still have to configure to get my commits to be signed?

I am getting an error because my commit is not signed:

remote: - Commits must have verified signatures.        

Here is my yaml file:

name: Ruff Linting

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  lint:
    permissions:
      contents: write
      id-token: write # Enable OIDC

    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: "3.12"

      - name: Install ruff
        run: pip install ruff

      - name: Run ruff
        run: ruff check . --ignore F841 --fix

      - name: Format code
        run: ruff format

      - uses: chainguard-dev/actions/setup-gitsign@main

      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: "style fixes by ruff"
          # commit_options: "-S"
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