-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1523 from pi-hole/development
v5.20.1
- Loading branch information
Showing
7 changed files
with
39 additions
and
29 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 |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3.1.0 | ||
uses: actions/checkout@v3.3.0 | ||
- | ||
name: "Calculate required variables" | ||
id: variables | ||
|
@@ -88,7 +88,7 @@ jobs: | |
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3.1.0 | ||
uses: actions/checkout@v3.3.0 | ||
- | ||
name: "Fix ownership of repository" | ||
run: chown -R root . | ||
|
@@ -119,7 +119,7 @@ jobs: | |
- | ||
name: Upload artifacts to job for later processing | ||
if: github.event_name != 'pull_request' | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: tmp-binary-storage | ||
path: '${{ matrix.bin_name }}*' | ||
|
@@ -131,10 +131,10 @@ jobs: | |
steps: | ||
- | ||
name: Checkout code | ||
uses: actions/checkout@v3.1.0 | ||
uses: actions/checkout@v3.3.0 | ||
- | ||
name: Get Binaries built in previous jobs | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: download | ||
with: | ||
name: tmp-binary-storage | ||
|
@@ -145,12 +145,13 @@ jobs: | |
working-directory: ${{steps.download.outputs.download-path}} | ||
- | ||
name: Install SSH Key | ||
uses: benoitchantre/[email protected].0 | ||
uses: benoitchantre/[email protected].1 | ||
with: | ||
private-key: ${{ secrets.SSH_KEY }} | ||
known-hosts: ${{ secrets.KNOWN_HOSTS }} | ||
- | ||
name: Transfer Builds to Pi-hole server for pihole checkout | ||
if: github.actor != 'dependabot[bot]' | ||
env: | ||
USER: ${{ secrets.SSH_USER }} | ||
HOST: ${{ secrets.SSH_HOST }} | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Check for merge conflicts" | ||
on: | ||
# So that PRs touching the same files as the push are updated | ||
push: | ||
# So that the `dirtyLabel` is removed if conflicts are resolve | ||
# We recommend `pull_request_target` so that github secrets are available. | ||
# In `pull_request` we wouldn't be able to change labels of fork PRs | ||
pull_request_target: | ||
types: [synchronize] | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if PRs are have merge conflicts | ||
uses: eps1lon/[email protected] | ||
with: | ||
dirtyLabel: "Merge conflicts" | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request." | ||
commentOnClean: "Conflicts have been resolved." |
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 |
---|---|---|
|
@@ -11,17 +11,8 @@ jobs: | |
name: Syncing branches | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.1.0 | ||
uses: actions/checkout@v3.3.0 | ||
- name: Opening pull request | ||
id: pull | ||
uses: tretuna/[email protected] | ||
with: | ||
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 }} | ||
FROM_BRANCH: 'master' | ||
TO_BRANCH: 'development' | ||
- name: Label the pull request to ignore for release note generation | ||
uses: actions-ecosystem/[email protected] | ||
with: | ||
labels: internal | ||
repo: ${{ github.repository }} | ||
number: ${{ steps.pull.outputs.PULL_REQUEST_NUMBER }} |
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