Skip to content

Fix checkout

Fix checkout #5

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Run pre-commit
run: |
pip install pre-commit
pre-commit run --all-files
- name: Test action
uses: Scientific-Python-Translations/clean-up@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Provided by user
translations-repo: "Scientific-Python-Translations/clean-up"
translations-ref: "main"
# Provided by organization secrets
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
token: "not-a-real-token"
crowdin-token: ${{ secrets.CROWDIN_TOKEN }}