diff --git a/.github/workflows/table_of_contents.yml b/.github/workflows/table_of_contents.yml index 7614445f79f..55bc939ad02 100644 --- a/.github/workflows/table_of_contents.yml +++ b/.github/workflows/table_of_contents.yml @@ -22,6 +22,8 @@ jobs: # Step 1: Check out the repository - name: Check out repository uses: actions/checkout@v3 + with: + ref: formats_action # Step 2 - Setup Python - name: Set up Python @@ -70,6 +72,6 @@ jobs: git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor}}@users.noreply.github.com" # standard git flow - git add . + git add table-of-contents-files/* git commit -m "Autogenerate or update table of contents files from GitHub action" git push \ No newline at end of file