Skip to content

Commit 470b636

Browse files
committed
fix authentication in actions
1 parent 1a79864 commit 470b636

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/v11-principal-alpha-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_tag:
7-
description: "Version to deploy.(e.g., v1.0.0-alpha.1)"
7+
description: "Version to deploy.(e.g., v11.0.0-alpha.1)"
88
required: true
99
event_processor_tag:
1010
description: "Event processor version to use for this deployment.(e.g., 1.0.0-beta)"

.github/workflows/v11-principal-beta-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_tag:
7-
description: "Version to deploy."
7+
description: "Version to deploy.(e.g., v11.0.0-beta.1)"
88
required: true
99
event_processor_tag:
10-
description: "Event processor version to use for this deployment."
10+
description: "Event processor version to use for this deployment.(e.g., 1.0.0-beta)"
1111
required: true
1212

1313
jobs:
@@ -30,7 +30,7 @@ jobs:
3030
fi
3131
3232
echo "Validating user permissions..."
33-
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
33+
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.API_SECRET }}" \
3434
-H "Accept: application/vnd.github.json" \
3535
"https://api.github.com/orgs/utmstack/teams/core-developers/memberships/${{ github.actor }}")
3636

.github/workflows/v11-principal-installer-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_tag:
7-
description: "Version to deploy."
7+
description: "Version to deploy. (e.g., v11.0.0-alpha.1)"
88
required: true
99

1010
jobs:

.github/workflows/v11-principal-production-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_tag:
7-
description: "Version to deploy."
7+
description: "Version to deploy.(e.g., v11.0.0)"
88
required: true
99
event_processor_tag:
10-
description: "Event processor version to use for this deployment."
10+
description: "Event processor version to use for this deployment.(e.g., 1.0.0)"
1111
required: true
1212

1313
jobs:
@@ -30,7 +30,7 @@ jobs:
3030
fi
3131
3232
echo "Validating user permissions..."
33-
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
33+
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.API_SECRET }}" \
3434
-H "Accept: application/vnd.github.json" \
3535
"https://api.github.com/orgs/utmstack/teams/core-developers/memberships/${{ github.actor }}")
3636

.github/workflows/v11-principal-rc-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
version_tag:
7-
description: "Version to deploy."
7+
description: "Version to deploy.(e.g., v11.0.0-rc.1)"
88
required: true
99
event_processor_tag:
10-
description: "Event processor version to use for this deployment."
10+
description: "Event processor version to use for this deployment.(e.g., 1.0.0-beta)"
1111
required: true
1212

1313
jobs:
@@ -30,7 +30,7 @@ jobs:
3030
fi
3131
3232
echo "Validating user permissions..."
33-
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
33+
RESPONSE=$(curl -s -H "Authorization: Bearer ${{ secrets.API_SECRET }}" \
3434
-H "Accept: application/vnd.github.json" \
3535
"https://api.github.com/orgs/utmstack/teams/core-developers/memberships/${{ github.actor }}")
3636

0 commit comments

Comments
 (0)