From c13b44b992dff86f035f7ad87e8838495b8f85fc Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 21 Sep 2024 19:33:17 -0500 Subject: [PATCH] Let's use the artifacts token actually --- .github/workflows/main_matrix.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 73f4daae4d..9116e755eb 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -358,7 +358,7 @@ jobs: uses: actions/checkout@v4 with: repository: meshtastic/meshtastic.github.io - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.ARTIFACTS_TOKEN }} path: meshtastic.github.io - name: Display structure of downloaded files @@ -371,16 +371,10 @@ jobs: - name: Display structure of downloaded files run: ls -R - - name: Create pull request - uses: peter-evans/create-pull-request@v7 - with: - title: Update protobufs and classes - - name: Commit and push changes run: | cd meshtastic.github.io find . -type f -name 'meshtasticd_*' -exec rm -f {} + - git config --unset-all http.https://github.com/.extraheader git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" git add .