Skip to content

Commit

Permalink
rename token
Browse files Browse the repository at this point in the history
  • Loading branch information
tharindu1st committed Dec 13, 2023
1 parent 09d025d commit 93835d5
Show file tree
Hide file tree
Showing 33 changed files with 257 additions and 257 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/adapter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -37,7 +37,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: adapter-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand All @@ -58,12 +58,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/admin-domain-service-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -38,7 +38,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: admin-domain-service-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/backoffice-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -38,7 +38,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: backoffice-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clean-acr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- name: Disable workflow
run: |
curl -X PUT -H "Authorization: token ${{ secrets.WSO2_BOT_TOKEN }}" \
curl -X PUT -H "Authorization: token ${{ secrets.APK_BOT_TOKEN }}" \
https://api.github.com/repos/wso2/apk/actions/workflows/49589306/disable
- uses: azure/login@v1
with:
Expand All @@ -25,6 +25,6 @@ jobs:
- name: Enable workflow
if: always()
run: |
curl -X PUT -H "Authorization: token ${{ secrets.WSO2_BOT_TOKEN }}" \
curl -X PUT -H "Authorization: token ${{ secrets.APK_BOT_TOKEN }}" \
https://api.github.com/repos/wso2/apk/actions/workflows/49589306/enable
6 changes: 3 additions & 3 deletions .github/workflows/code-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: "0"
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: Run Gradle Build
run: |
./build-apk.sh
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/common-controller-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -37,7 +37,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: common-controller-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand All @@ -58,12 +58,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/config-deployer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -38,7 +38,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: config-deployer-service-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/devportal-domain-service-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -38,7 +38,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: devportal-domain-service-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand Down Expand Up @@ -74,12 +74,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/enforcer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -37,7 +37,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
NEXUS_REPO_URL: ${{ secrets.NEXUS_REPO_URL }}
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
Expand All @@ -58,12 +58,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/idp-domain-service-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -37,7 +37,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: idp-domain-service-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand Down Expand Up @@ -73,12 +73,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/idp-ui-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
type: boolean
description: "Deploy to AKS"
secrets:
WSO2_BOT_TOKEN:
APK_BOT_TOKEN:
required: true
WSO2_BOT_USER:
APK_BOT_USER:
required: true
WSO2_BOT_EMAIL:
APK_BOT_EMAIL:
required: true
DOCKER_ORGANIZATION:
required: true
Expand All @@ -37,7 +37,7 @@ on:
branches:
- 'main'
env:
GH_TOKEN: ${{ secrets.WSO2_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.APK_BOT_TOKEN }}
concurrency:
group: idp-ui-${{ github.event.number || github.run_id }}
cancel-in-progress: true
Expand All @@ -50,12 +50,12 @@ jobs:
with:
fetch-depth: "0"
path: apk-repo
token: ${{ secrets.WSO2_BOT_TOKEN }}
token: ${{ secrets.APK_BOT_TOKEN }}
- name: Set release username and email
shell: sh
run: |
git config --global user.name ${{ secrets.WSO2_BOT_USER }}
git config --global user.email ${{ secrets.WSO2_BOT_EMAIL }}
git config --global user.name ${{ secrets.APK_BOT_USER }}
git config --global user.email ${{ secrets.APK_BOT_EMAIL }}
- name: checkout pull request and merge.
shell: sh
if: github.event_name == 'pull_request_target' && contains(github.event.label.name, 'trigger-action')
Expand Down
Loading

0 comments on commit 93835d5

Please sign in to comment.