From c9ce6a5a3b81d42d6e8c7e4a73b7d358e3cc3339 Mon Sep 17 00:00:00 2001 From: Neko Aria <990879119@qq.com> Date: Sat, 26 Oct 2024 23:46:33 +0800 Subject: [PATCH] ci(workflows): remove repository check conditions --- .github/workflows/close-stale-issues.yml | 1 - .github/workflows/dependabot-auto-merge.yml | 2 +- .github/workflows/deploy-docker.yml | 1 - .github/workflows/deploy-gh-pages.yml | 1 - .github/workflows/dockerhub-description.yml | 3 +-- .github/workflows/scheduled-docker-build.yml | 1 - 6 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index e6c1e83ea..eab482fa0 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -12,7 +12,6 @@ permissions: jobs: close_stale_issues: runs-on: ubuntu-latest - if: github.repository == 'electh/ReactFlux' steps: - uses: actions/stale@v9 with: diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index f97228dec..204e7a2c2 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -8,7 +8,7 @@ permissions: jobs: dependabot: runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'electh/ReactFlux' + if: github.event.pull_request.user.login == 'dependabot[bot]' steps: - name: Dependabot metadata id: metadata diff --git a/.github/workflows/deploy-docker.yml b/.github/workflows/deploy-docker.yml index fc1fa9463..dd3cedc7a 100644 --- a/.github/workflows/deploy-docker.yml +++ b/.github/workflows/deploy-docker.yml @@ -18,7 +18,6 @@ on: jobs: build-and-push: runs-on: ubuntu-latest - if: github.repository == 'electh/ReactFlux' steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 3fca34cb9..1899a7301 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -23,7 +23,6 @@ jobs: build-and-deploy: concurrency: ci-${{github.ref}} runs-on: ubuntu-latest - if: github.repository == 'electh/ReactFlux' steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index 440e1543e..61163170f 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -12,7 +12,6 @@ on: jobs: dockerHubDescription: runs-on: ubuntu-latest - if: github.repository == 'electh/ReactFlux' steps: - uses: actions/checkout@v4 @@ -21,6 +20,6 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - repository: electh/reactflux + repository: ${{ github.repository }} short-description: ${{ github.event.repository.description }} enable-url-completion: true diff --git a/.github/workflows/scheduled-docker-build.yml b/.github/workflows/scheduled-docker-build.yml index 885fd0958..8f1b078c7 100644 --- a/.github/workflows/scheduled-docker-build.yml +++ b/.github/workflows/scheduled-docker-build.yml @@ -9,7 +9,6 @@ on: jobs: build-and-push: runs-on: ubuntu-latest - if: github.repository == 'electh/ReactFlux' steps: - uses: actions/checkout@v4