Skip to content

Adding basic README LICENSE and github action #3

Adding basic README LICENSE and github action

Adding basic README LICENSE and github action #3

Workflow file for this run

name: main
on:
push:
branches: [main]
schedule:
- cron: '55 8 1 * *'
jobs:
build:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install pre-commit-mirror-maker
- run: git config --global user.name 'Github Actions'
- run: git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: pre-commit-mirror . --language python --package-name clang-tidy --id=clang-tidy --types-or c++ --types-or c --types-or 'c#' --types-or 'objective-c' --args=--format-style=file
- run: |
git remote set-url origin https://x-access-token:[email protected]/$GITHUB_REPOSITORY
git push origin HEAD:refs/heads/main --tags
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}