diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ed474cf..d90efb7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,4 +8,4 @@ updates: - package-ecosystem: "npm" directory: "/" schedule: - interval: "weekly" + interval: "daily" diff --git a/.github/labeler.yml b/.github/labeler.yml index f88ef02..c3148fc 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,12 +1,34 @@ -# Add to any change to .txt files within the entire repository. Quotation marks are required for the leading asterisk +# https://github.com/actions/labeler/#match-object + +config: + - any: + - changed-files: + - any-glob-to-any-file: [ + '.eleventy.config.images.js', + '.eleventy.js', + '.eleventyignore', + '.gitignore', + ] + +post: + - any: + - changed-files: + - any-glob-to-any-file: ['posts/*/*.md'] + +image: + - any: + - changed-files: + - any-glob-to-any-file: [ + 'posts/*/*.jpg', + 'posts/*/*.png', + ] + format: -- '**/*.njk' + - any: + - changed-files: + - any-glob-to-any-file: ['**/*.njk'] GitHub: -- '.github/*' - -config: -- '.eleventy.config.images.js' -- '.eleventy.js' -- '.eleventyignore' -- '.gitignore' + - any: + - changed-files: + - any-glob-to-any-file: ['.github/*'] \ No newline at end of file diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml deleted file mode 100644 index a3ab94f..0000000 --- a/.github/workflows/label.yml +++ /dev/null @@ -1,21 +0,0 @@ -# This workflow will triage pull requests and apply a label based on the -# paths that are modified in the pull request. -# -# To use this workflow, you will need to set up a .github/labeler.yml -# file with configuration. For more information, see: -# https://github.com/actions/labeler - -name: Labeler -on: [pull_request_target] - -jobs: - label: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - - steps: - - uses: actions/labeler@v4 - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..86f9b59 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,16 @@ +name: PR Labeler + +on: + - pull_request_target + +jobs: + pr-label: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5.0.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 28b45c0..dc8d9f7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "cSpell.words": [ "eleventy", + "eleventyignore", "gemdown", "linkify", "prebuild",