mirror of
https://github.com/pi-hole/pi-hole.git
synced 2026-06-10 15:37:20 +02:00
4bf69d42b0
Bumps the github-actions-dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog). Updates `actions/checkout` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10) Updates `trufflesecurity/trufflehog` from 3.95.3 to 3.95.5 - [Release notes](https://github.com/trufflesecurity/trufflehog/releases) - [Commits](https://github.com/trufflesecurity/trufflehog/compare/37b77001d0174ebec2fcca2bd83ff83a6d45a3ab...d411fff7b8879a62509f3fa98c07f247ac089a51) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: trufflesecurity/trufflehog dependency-version: 3.95.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
1.6 KiB
YAML
41 lines
1.6 KiB
YAML
name: Sync Back to Development
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
# The section is needed to drop the default write-all permissions for all jobs
|
|
# that are granted on `push` event. By specifying any permission explicitly
|
|
# all others are set to none. By using the principle of least privilege the damage a compromised
|
|
# workflow can do (because of an injection or compromised third party tool or
|
|
# action) is restricted. Adding labels to issues, commenting
|
|
# on pull-requests, etc. may need additional permissions:
|
|
#
|
|
# Syntax for this section:
|
|
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
|
|
#
|
|
# Reference for how to assign permissions on a job-by-job basis:
|
|
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
|
|
#
|
|
# Reference for available permissions that we can enable if needed:
|
|
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
|
|
permissions: {}
|
|
|
|
jobs:
|
|
sync-branches:
|
|
# The job needs to be able to pull the code and create a pull request.
|
|
permissions:
|
|
contents: read # for actions/checkout
|
|
pull-requests: write # to create pull request
|
|
|
|
runs-on: ubuntu-latest
|
|
name: Syncing branches
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
|
|
- name: Opening pull request
|
|
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|