From ebff2a68c5e00b3ec835698addc5481e1d2a55d7 Mon Sep 17 00:00:00 2001 From: yashksaini-coder Date: Tue, 1 Oct 2024 22:14:27 +0530 Subject: [PATCH] Update workflow: Remove the example-job --- .github/workflows/update-structure.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update-structure.yml b/.github/workflows/update-structure.yml index 9a2456302e..8081c8e2cb 100644 --- a/.github/workflows/update-structure.yml +++ b/.github/workflows/update-structure.yml @@ -10,8 +10,8 @@ on: - yash/fix-4 jobs: - example-job: - runs-on: ubuntu-latests + detect-and-update-structure: + runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 @@ -25,6 +25,7 @@ jobs: run: | python -m pip install --upgrade pip pip install PyGithub + - name: Run update script env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -32,7 +33,7 @@ jobs: - name: Commit and push if changed run: | - git config --local user.email "115717039+yashksaini-coder@users.noreply.github.com" - git config --local user.name "yashksaini-coder" - git add . - git diff --quiet && git diff --staged --quiet || (git commit -m "Update repo structure" && git push) \ No newline at end of file + git config --local user.email "115717039+yashksaini-coder@users.noreply.github.com" + git config --local user.name "yashksaini-coder" + git add . + git diff --quiet && git diff --staged --quiet || (git commit -m "Update repo structure" && git push) \ No newline at end of file