Skip to content

Commit

Permalink
Merge pull request #6758 from Himangini/switch-to-eksctlbot
Browse files Browse the repository at this point in the history
Replaced weaveworksbot with eksctlbot in workflows and actions
  • Loading branch information
Himangini committed Jul 5, 2023
2 parents 645c6f1 + 2da99ae commit a5a5cc1
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-identity/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ inputs:
name:
description: "Git config name"
required: false
default: "weaveworksbot"
default: "eksctl-bot"
email:
description: "Git config email"
required: false
default: "weaveworksbot@users.noreply.github.com"
default: "53547694+eksctl-bot@users.noreply.github.com"
outputs: {}
runs:
using: "composite"
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ template: |
Weaveworks would like to sincerely thank:
$CONTRIBUTORS
replacers:
- search: '/@(Himangini|TiberiuGC|A-Hilaly|yuxiang-zhang|cPu1|weaveworksbot|dependabot(?:\[bot\])?)(?:,| |$)/gm'
- search: '/@(Himangini|TiberiuGC|A-Hilaly|yuxiang-zhang|cPu1|eksctl-bot|dependabot(?:\[bot\])?)(?:,| |$)/gm'
replace: ''
exclude-labels:
- 'skip-release-notes'
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
token: ${{ secrets.EKSCTLBOT_TOKEN }}
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 #v4.0.0
Expand All @@ -27,10 +27,10 @@ jobs:
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup identity as weaveworksbot
- name: Setup identity as eksctl-bot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.WEAVEWORKSBOT_TOKEN }}"
token: "${{ secrets.EKSCTLBOT_TOKEN }}"
- name: Trigger Netlify deployment
run: make publish-docs
- name: slack on success
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
isReleaseCandidate: true
name: release candidate
secrets:
githubToken: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
githubToken: ${{ secrets.EKSCTLBOT_TOKEN }}
slackToken: ${{ secrets.WEAVEWORKS_SLACK_EKSCTLBOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
isReleaseCandidate: false
name: release
secrets:
githubToken: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
githubToken: ${{ secrets.EKSCTLBOT_TOKEN }}
slackToken: ${{ secrets.WEAVEWORKS_SLACK_EKSCTLBOT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/rebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.EKSCTLBOT_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
token: ${{ secrets.EKSCTLBOT_TOKEN }}
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v3
Expand All @@ -23,9 +23,9 @@ jobs:
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup identity as weaveworksbot
- name: Setup identity as eksctl-bot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.WEAVEWORKSBOT_TOKEN }}"
token: "${{ secrets.EKSCTLBOT_TOKEN }}"
- name: Push tag and open PR to default branch
run: make prepare-release-candidate
4 changes: 2 additions & 2 deletions .github/workflows/release-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup identity as weaveworksbot
- name: Setup identity as eksctl-bot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: actions/[email protected]
name: Open PR to ${{env.DEFAULT_BRANCH}}
with:
github-token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
github-token: ${{ secrets.EKSCTLBOT_TOKEN }}
script: |
const { data: pr } = await github.pulls.create({
...context.repo,
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
token: ${{ secrets.EKSCTLBOT_TOKEN }}
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v3
Expand All @@ -23,9 +23,9 @@ jobs:
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup identity as weaveworksbot
- name: Setup identity as eksctl-bot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.WEAVEWORKSBOT_TOKEN }}"
token: "${{ secrets.EKSCTLBOT_TOKEN }}"
- name: Push tag and open PR to default branch
run: make prepare-release
6 changes: 3 additions & 3 deletions .github/workflows/update-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup identity as weaveworksbot
- name: Setup identity as eksctl-bot
uses: ./.github/actions/setup-identity
with:
token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ secrets.EKSCTLBOT_TOKEN }}"
- name: Cache go-build and mod
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
name: Open PR to ${{env.DEFAULT_BRANCH}}
if: ${{ steps.commit.outputs.changes }} == 'true'
with:
github-token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
github-token: ${{ secrets.EKSCTLBOT_TOKEN }}
script: |
const { data: pr } = await github.pulls.create({
...context.repo,
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ brews:
name: homebrew-tap

commit_author:
name: weaveworksbot
email: [email protected]
name: eksctl-bot
email: [email protected]

folder: Formula

Expand Down

0 comments on commit a5a5cc1

Please sign in to comment.