Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
ssh-key: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0


Expand All @@ -41,7 +41,7 @@ jobs:
- name: create ssh agent
uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
ssh-private-key: ${{ secrets.GITHUB_TOKEN }}

- name: Configure git
run: |
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
uses: actions/github-script@v7
id: release-notes
with:
github-token: ${{ secrets.STAGING_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const repo_name = context.payload.repository.full_name
const response = await github.request('POST /repos/' + repo_name + '/releases' + '/generate-notes', {
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Create new ${{ needs.deploy.outputs.project_version }} release
uses: actions/github-script@v7
with:
github-token: ${{ secrets.STAGING_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const repo_name = context.payload.repository.full_name
const response = await github.request('POST /repos/' + repo_name + '/releases', {
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
ssh-key: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Configure git
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
PROJECT_VERSION: ${{ needs.deploy.outputs.project_version }}
continue-on-error: true
with:
github-token: ${{ secrets.STAGING_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const repo = context.repo;
const tag = process.env.PROJECT_VERSION;
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
env:
RELEASE_ID: ${{ steps.existing_release.outputs.id }}
with:
github-token: ${{ secrets.STAGING_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const repo = context.repo;
const releaseId = process.env.RELEASE_ID;
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
env:
PROJECT_VERSION: ${{ needs.deploy.outputs.project_version }}
with:
github-token: ${{ secrets.STAGING_PAT }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const repo = context.repo;
const tag = process.env.PROJECT_VERSION;
Expand Down
Loading