Skip to content

[pre-commit.ci] pre-commit autoupdate #135

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #135

Workflow file for this run

name: test
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Git
run: |
git config --global user.name "Sun, Xuehao"
git config --global user.email "[email protected]"
git remote set-url origin https://XuehaoSun:"${{ secrets.MY_TOKEN }}"@github.com/XuehaoSun/test-azure.git
- name: Run script
run: |
bash test.sh
- name: Commit changes
run: |
git add .
git commit -m "Freeze requirements"
git push