From 02f5ce9fa994e08fac9647b039ab4a779d1d4410 Mon Sep 17 00:00:00 2001 From: Bruno Pascottini Date: Thu, 17 Nov 2022 17:21:40 +0000 Subject: [PATCH 1/3] chore: update readme --- README.md | 14 +++++++++----- dist/index.js | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7f69d2e9..783012e7 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,11 @@ Error: Resource not accessible by integration ```yml name: CI -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: build: @@ -91,7 +95,7 @@ jobs: contents: write steps: - - uses: fastify/github-action-merge-dependabot@v3.0.0 + - uses: fastify/github-action-merge-dependabot@v3 ``` ### Excluding packages @@ -102,7 +106,7 @@ permissions: contents: write steps: - - uses: fastify/github-action-merge-dependabot@v3.0.0 + - uses: fastify/github-action-merge-dependabot@v3 with: exclude: 'react,fastify' ``` @@ -113,7 +117,7 @@ steps: permissions: pull-requests: write steps: - - uses: fastify/github-action-merge-dependabot@v3.0.0 + - uses: fastify/github-action-merge-dependabot@v3 with: approve-only: true ``` @@ -140,7 +144,7 @@ jobs: pull-requests: write contents: write steps: - - uses: fastify/github-action-merge-dependabot@v3.0.0 + - uses: fastify/github-action-merge-dependabot@v3 with: pr-number: ${{ github.event.inputs.pr-number }} ``` diff --git a/dist/index.js b/dist/index.js index ca5f18ff..7261c56a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3235,7 +3235,7 @@ module.exports = require("util"); /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"name":"github-action-merge-dependabot","version":"3.5.0","description":"A GitHub action to automatically merge and approve Dependabot pull requests","main":"src/index.js","scripts":{"build":"ncc build src/index.js","lint":"eslint .","test":"tap test/**.test.js","prepare":"husky install"},"author":{"name":"Salman Mitha","email":"SalmanMitha@gmail.com"},"contributors":["Simone Busoli "],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/github-action-merge-dependabot.git"},"bugs":{"url":"https://github.com/fastify/github-action-merge-dependabot/issues"},"homepage":"https://github.com/fastify/github-action-merge-dependabot#readme","dependencies":{"@actions/core":"^1.9.1","@actions/github":"^5.1.1","actions-toolkit":"github:nearform/actions-toolkit","gitdiff-parser":"^0.2.2","semver":"^7.3.8"},"devDependencies":{"@vercel/ncc":"^0.34.0","eslint":"^8.27.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.1","prettier":"^2.7.1","proxyquire":"^2.1.3","sinon":"^14.0.1","tap":"^16.3.0"}}'); +module.exports = JSON.parse('{"name":"github-action-merge-dependabot","version":"3.5.0","description":"A GitHub action to automatically merge and approve Dependabot pull requests","main":"src/index.js","scripts":{"build":"ncc build src/index.js","lint":"eslint .","test":"tap test/**.test.js","prepare":"husky install"},"author":{"name":"Salman Mitha","email":"SalmanMitha@gmail.com"},"contributors":["Simone Busoli "],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fastify/github-action-merge-dependabot.git"},"bugs":{"url":"https://github.com/fastify/github-action-merge-dependabot/issues"},"homepage":"https://github.com/fastify/github-action-merge-dependabot#readme","dependencies":{"@actions/core":"^1.9.1","@actions/github":"^5.1.1","actions-toolkit":"github:nearform/actions-toolkit","gitdiff-parser":"^0.2.2","semver":"^7.3.8"},"devDependencies":{"@vercel/ncc":"^0.34.0","eslint":"^8.27.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","husky":"^8.0.2","prettier":"^2.7.1","proxyquire":"^2.1.3","sinon":"^14.0.2","tap":"^16.3.1"}}'); /***/ }) From 3b812303bcb3cb0c339c63c3dbb13a2c7f664c3d Mon Sep 17 00:00:00 2001 From: Bruno Pascottini Date: Thu, 17 Nov 2022 17:42:55 +0000 Subject: [PATCH 2/3] fix: undo unexpected change From 0db7234cfa0ebb6dec4debc7bd233e679a5cf177 Mon Sep 17 00:00:00 2001 From: Bruno Pascottini Date: Fri, 18 Nov 2022 10:28:23 +0000 Subject: [PATCH 3/3] fix: change branch in basic example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 783012e7..a77103c5 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ name: CI on: push: branches: - - master + - main pull_request: jobs: