ci: move sensitive workflows to separate environment #1351
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Black | |
uses: psf/black@stable | |
with: | |
options: "--verbose" | |
version: "~= 22.10" | |
- name: Auto commit | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "style: ci lint with `black`" |