From edb31a54cf057a3c4468ea315b5f106e614be46a Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:06 +0000 Subject: [PATCH 1/6] chore([no ci]): Created local '.github/workflows/manualRelease.yml' from remote 'templates/github-oclif/manualRelease.yml' --- .github/workflows/manualRelease.yml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/manualRelease.yml diff --git a/.github/workflows/manualRelease.yml b/.github/workflows/manualRelease.yml new file mode 100644 index 0000000..8d249ef --- /dev/null +++ b/.github/workflows/manualRelease.yml @@ -0,0 +1,36 @@ +name: manual release + +on: + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + token: ${{ secrets.SF_CLI_BOT_GITHUB_TOKEN }} + - name: Conventional Changelog Action + id: changelog + uses: TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2 + # overriding some of the basic behaviors to just get the changelog + with: + git-user-name: SF-CLI-BOT + git-user-email: alm-cli@salesforce.com + github-token: ${{ secrets.SF_CLI_BOT_GITHUB_TOKEN }} + output-file: false + # always do the release, even if there are no semantic commits + skip-on-empty: false + tag-prefix: '' + - uses: notiz-dev/github-action-json-property@2192e246737701f108a4571462b76c75e7376216 + id: packageVersion + with: + path: 'package.json' + prop_path: 'version' + - name: Create Github Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.SF_CLI_BOT_GITHUB_TOKEN }} + with: + tag_name: ${{ steps.packageVersion.outputs.prop }} + release_name: ${{ steps.packageVersion.outputs.prop }} From 8a90a4f515bce1131061f04c6364509e34c64a28 Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:06 +0000 Subject: [PATCH 2/6] chore([no ci]): Synced local '.github/dependabot.yml' with remote 'templates/dependabot/dependabot.yml' --- .github/dependabot.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 608f038..174b940 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,16 +1,21 @@ version: 2 updates: - - package-ecosystem: "npm" - versioning-strategy: increase - directory: "/" + - package-ecosystem: 'npm' + directory: '/' schedule: - interval: "monthly" + interval: 'weekly' + day: 'saturday' + versioning-strategy: 'increase' labels: - - "dependencies" - open-pull-requests-limit: 100 + - 'dependencies' + open-pull-requests-limit: 5 pull-request-branch-name: - separator: "-" + separator: '-' + commit-message: + # cause a release for non-dev-deps + prefix: fix(deps) + # no release for dev-deps + prefix-development: chore(dev-deps) ignore: - - dependency-name: "fs-extra" - - dependency-name: "*" - update-types: ["version-update:semver-major"] + - dependency-name: '*' + update-types: ['version-update:semver-major'] From 4c03395b9fdce135dd0c5882242ed442d6ef83fb Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:06 +0000 Subject: [PATCH 3/6] chore([no ci]): Created local '.github/workflows/automerge.yml' from remote 'templates/github-oclif/automerge.yml' --- .github/workflows/automerge.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/automerge.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..796eafa --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,10 @@ +name: automerge +on: + workflow_dispatch: + schedule: + - cron: '17 2,5,8,11 * * *' + +jobs: + automerge: + uses: oclif/github-workflows/.github/workflows/automerge.yml@main + secrets: inherit From 7b1f4bc5904fb59e109b44427f6db4e93ee81580 Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:06 +0000 Subject: [PATCH 4/6] chore([no ci]): Created local '.github/workflows/failureNotifications.yml' from remote 'templates/github-oclif/failureNotifications.yml' --- .github/workflows/failureNotifications.yml | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/failureNotifications.yml diff --git a/.github/workflows/failureNotifications.yml b/.github/workflows/failureNotifications.yml new file mode 100644 index 0000000..6b4118f --- /dev/null +++ b/.github/workflows/failureNotifications.yml @@ -0,0 +1,43 @@ +name: failureNotifications + +on: + workflow_run: + workflows: + - version, tag and github release + - publish + types: + - completed + +jobs: + failure-notify: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'failure' }} + steps: + - name: Announce Failure + id: slack + uses: slackapi/slack-github-action@v1.21.0 + env: + # for non-CLI-team-owned plugins, you can send this anywhere you like + SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }} + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK + with: + payload: | + { + "text": "${{ github.event.workflow_run.name }} failed: ${{ github.event.workflow_run.repository.name }}", + "blocks": [ + { + "type": "header", + "text": { + "type": "plain_text", + "text": ":bh-alert: ${{ github.event.workflow_run.name }} failed: ${{ github.event.workflow_run.repository.name }} :bh-alert:" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "Repo: ${{ github.event.workflow_run.repository.html_url }}\nWorkflow name: `${{ github.event.workflow_run.name }}`\nJob url: ${{ github.event.workflow_run.html_url }}" + } + } + ] + } From a29fadadf69b123561f0ce36fa58fe4139132216 Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:07 +0000 Subject: [PATCH 5/6] chore([no ci]): Created local '.github/workflows/onPushToMain.yml' from remote 'templates/github-oclif/onPushToMain.yml' --- .github/workflows/onPushToMain.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/onPushToMain.yml diff --git a/.github/workflows/onPushToMain.yml b/.github/workflows/onPushToMain.yml new file mode 100644 index 0000000..61eda8a --- /dev/null +++ b/.github/workflows/onPushToMain.yml @@ -0,0 +1,18 @@ +# test +name: version, tag and github release + +on: + push: + branches: [main] + +jobs: + release: + uses: oclif/github-workflows/.github/workflows/githubRelease.yml@main + secrets: inherit + + # most repos won't use this + # depends on previous job to avoid git collisions, not for any functionality reason + # docs: + # uses: salesforcecli/github-workflows/.github/workflows/publishTypedoc.yml@main + # secrets: inherit + # needs: release From 6cc13b78b4304d01b1010ccdea84f31504223c77 Mon Sep 17 00:00:00 2001 From: SF-CLI-BOT Date: Mon, 26 Sep 2022 13:59:07 +0000 Subject: [PATCH 6/6] chore([no ci]): Created local 'git2gus/config.json' from remote 'templates/git2gus/config.json' --- git2gus/config.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 git2gus/config.json diff --git a/git2gus/config.json b/git2gus/config.json new file mode 100644 index 0000000..c8eda1c --- /dev/null +++ b/git2gus/config.json @@ -0,0 +1,4 @@ +{ + "productTag": "a1aB00000004Bx8IAE", + "defaultBuild": "offcore.tooling.55" +} \ No newline at end of file