From 2c650b15e06108c07cc84c595bd7b3cf927f0ca0 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Fri, 8 Dec 2023 15:38:14 -0500 Subject: [PATCH 1/3] Add dependabot.yml file --- .github/dependabot.yml | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bbf5c93 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,56 @@ +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + target-branch: "develop" + allow: + - dependency-type: direct + schedule: + interval: "daily" + commit-message: + prefix: "GitHub Actions" + include: "scope" + labels: + - "dependencies" + + # Maintain dependencies for npm + - package-ecosystem: "npm" + directory: "/" + target-branch: "develop" + allow: + - dependency-type: direct + schedule: + interval: "daily" + versioning-strategy: increase + commit-message: + prefix: "NPM" + prefix-development: "NPM Dev" + include: "scope" + labels: + - "dependencies" + - "javascript" + registries: + npm-github: + type: npm-registry + url: https://npm.pkg.github.com + token: ${{ secrets.NEWFOLD_ACCESS_TOKEN }} + replaces-base: true + + # Maintain dependencies for Composer + - package-ecosystem: "composer" + directory: "/" + target-branch: "develop" + schedule: + interval: "daily" + allow: + - dependency-type: direct + versioning-strategy: increase + commit-message: + prefix: "Composer" + prefix-development: "Composer Dev" + include: "scope" + labels: + - "dependencies" + - "php" \ No newline at end of file From 03b3ae5fd2e3788a3ac9bac92fb9abb450ed3d02 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Fri, 8 Dec 2023 15:38:21 -0500 Subject: [PATCH 2/3] Update checkout action --- .github/workflows/lint-check-php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-check-php.yml b/.github/workflows/lint-check-php.yml index afabfa2..1ef8d6a 100644 --- a/.github/workflows/lint-check-php.yml +++ b/.github/workflows/lint-check-php.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # User PHP 7.4 here for compatibility with the WordPress codesniffer rules. - name: Setup PHP From bcb128d21e154dea5c9be3590991ef063411dc27 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Fri, 8 Dec 2023 15:38:29 -0500 Subject: [PATCH 3/3] Update Satis workflow --- .github/workflows/satis-update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/satis-update.yml b/.github/workflows/satis-update.yml index eb36715..757a871 100644 --- a/.github/workflows/satis-update.yml +++ b/.github/workflows/satis-update.yml @@ -15,14 +15,14 @@ jobs: id: package env: REPO: ${{ github.repository }} - run: echo ::set-output name=PACKAGE::${REPO##*/} + run: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT - name: Set Version id: tag - run: echo ::set-output name=VERSION::${GITHUB_REF##*/} + run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v1 + uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.WEBHOOK_TOKEN }} repository: newfold-labs/satis