diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 06b35b84..713ec5db 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,3 +7,9 @@ updates: interval: "daily" commit-message: prefix: "chore(deps)" + groups: + dependencies: + applies-to: version-updates + update-types: + - "minor" + - "patch" diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 404ccad7..1664cea9 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -10,21 +10,22 @@ jobs: deploy: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # tag v4.1.4 with: submodules: true fetch-depth: 0 - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 + uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # tag v3.0.0 with: hugo-version: 'latest' + extended: true - name: Build run: hugo --minify - name: Deploy - uses: peaceiris/actions-gh-pages@v4 + uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # tag v4.0.0 if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr-label-checker.yaml b/.github/workflows/pr-label-checker.yaml deleted file mode 100644 index aeb50aca..00000000 --- a/.github/workflows/pr-label-checker.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -name: label checker - -on: - pull_request: - types: - - closed - -jobs: - if_merged: - if: github.event.pull_request.merged == true - runs-on: ubuntu-latest - steps: - - run: | - echo The PR was merged - echo ${{ contains(github.event.pull_request.labels.*.name, 'ready-for-review') }} - if_labelled: - if: | - contains(github.event.pull_request.labels.*.name, 'major') || - contains(github.event.pull_request.labels.*.name, 'minor') || - contains(github.event.pull_request.labels.*.name, 'release') - runs-on: ubuntu-latest - steps: - - run: | - echo Label present