-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing GitHub's built-in auto-merge feature for dependabot PRs
- Loading branch information
Showing
5 changed files
with
16 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
name: "Auto-Merge Dependabot PRs" | ||
|
||
on: [ pull_request ] | ||
on: | ||
pull_request: | ||
branches: | ||
- "master" | ||
|
||
permissions: | ||
actions: read | ||
security-events: write | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
ci: | ||
name: "Run CI Workflow" | ||
uses: ./.github/workflows/ci.yml | ||
automerge: | ||
name: "Auto-merge PR (Dependabot only!)" | ||
needs: | ||
- ci | ||
runs-on: ubuntu-latest | ||
if: github.actor == 'dependabot[bot]' | ||
steps: | ||
- name: "Auto-merge the PRs" | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
- name: "Approve PR to enable auto-merge" | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ on: | |
branches: [ "master" ] | ||
schedule: | ||
- cron: '43 0 * * 2' | ||
workflow_call: | ||
|
||
jobs: | ||
analyze: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
Always use the most recent version. There will be no support for older | ||
versions. | ||
Always use the most recent version available as `stable` or `latest` in ioBroker. | ||
There will be no support for outdated versions. | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you identify a vulnerability, please consider that this may affect other | ||
people/projects as well. This in mind please email me (Yannic Labonte | ||
<yannic.labonte@gmail.com>) first, so I can react and maybe fix the issue, | ||
before publishing it to the public (e.g. in a github issue). | ||
If you identify a vulnerability, please consider that this may affect other people/projects as well. This in mind please | ||
email me (Yannic Labonte <yannic.labonte@gmail.com>) first, so I can react and maybe fix the issue, before it is | ||
published to the public (e.g. in a github issue) and maybe misused by third parties. |