From 62048735f40ca484b1a96b06e5fad6c797460b03 Mon Sep 17 00:00:00 2001 From: pablo Date: Thu, 24 Feb 2022 09:50:33 +0100 Subject: [PATCH 1/4] update profile on new releases --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4eff2bc..fdee229 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,3 +147,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # Commit.dappnode_profile change + - uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: bump + file_pattern: .dappnode_profile From e8376d11cac91f6f3466b4c84129a12b95cbf6f2 Mon Sep 17 00:00:00 2001 From: pablo Date: Mon, 7 Mar 2022 17:03:19 +0100 Subject: [PATCH 2/4] add and commit --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdee229..2f58775 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,8 +148,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # Commit.dappnode_profile change - - uses: stefanzweifel/git-auto-commit-action@v4 + # Commit profile change + - name: commit manifest + uses: EndBug/add-and-commit@v8 with: - commit_message: bump - file_pattern: .dappnode_profile + add: ".dappnode_profile" + message: "New release" From 76dd064d5914e34db4ee0c62cf796f6bd69602ab Mon Sep 17 00:00:00 2001 From: pablo Date: Mon, 7 Mar 2022 18:03:03 +0100 Subject: [PATCH 3/4] use of PR instead of commit into master --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f58775..28c579e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,10 +147,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # Commit profile change - - name: commit manifest - uses: EndBug/add-and-commit@v8 - with: - add: ".dappnode_profile" - message: "New release" + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + add-paths: "dappnode_package.json" + commit-message: "update profile core packages versions" + branch: "update-profile" + title: "update profile core packages versions" + delete-branch: true From 4b5b68550ff09d61077137a755fcce8ef7b3fb91 Mon Sep 17 00:00:00 2001 From: pablo Date: Mon, 7 Mar 2022 18:14:29 +0100 Subject: [PATCH 4/4] skip linter --- .github/workflows/linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index b52af5a..c817a5c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -30,5 +30,6 @@ jobs: uses: github/super-linter@v3.17.0 env: VALIDATE_ALL_CODEBASE: false + FILTER_REGEX_EXCLUDE: .github/* DEFAULT_BRANCH: master GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}