diff --git a/.github/workflows/update-wordinfo.yml b/.github/workflows/update-wordinfo.yml index 2b2441829..02f19fb1f 100644 --- a/.github/workflows/update-wordinfo.yml +++ b/.github/workflows/update-wordinfo.yml @@ -17,11 +17,20 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Update WordInfo + - name: Checkout code + uses: actions/checkout@v3 + with: + ref: master + fetch-depth: 0 + + - name: Update WordInfo\Gender\* shell: powershell # Forces the usage of PowerShell Desktop run: .\update-wordinfo.ps1 + + - name: Update WordInfo\decline.txt + shell: powershell + run: .\update-wordinfo-decline.ps1 + - name: Commit run: | git config user.name "github-actions[bot]"