uses: actions/checkout@v3
with:
repository: TizenAPI/tizenfx-api-specs
- token: ${{ secrets.TIZENAPI_GITHUB_TOKEN_FINEGRAINED }}
+ token: ${{ secrets.TIZENAPI_GITHUB_TOKEN }}
path: .apispec
- name: Push to APISpec
TARGETS: ${{ steps.find-targets.outputs.targets }}
WORKFLOW_NAME: 'Deploy Packages'
with:
- github-token: ${{ secrets.TIZENAPI_GITHUB_TOKEN_FINEGRAINED }}
+ github-token: ${{ secrets.TIZENAPI_GITHUB_TOKEN }}
script: |
var resp = await github.request('GET /repos/{owner}/{repo}/actions/workflows', {
owner: context.repo.owner,
- name: Download Artifacts from Build
uses: TizenAPI/tizenfx-build-actions/download-workflow-artifacts@master
with:
- token: ${{ secrets.TIZENAPI_GITHUB_TOKEN_FINEGRAINED }}
+ token: ${{ secrets.TIZENAPI_GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
name: reports
path: Artifacts
env:
PR_NUMBER: ${{ steps.pull_request.outputs.number }}
with:
- github-token: ${{ secrets.TIZENAPI_GITHUB_TOKEN_FINEGRAINED }}
+ github-token: ${{ secrets.TIZENAPI_GITHUB_TOKEN }}
script: |
const fs = require('fs');
const json = fs.readFileSync('Artifacts/errors.json', 'utf8');
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: TizenAPI/tizenfx-build-actions/apidb-report@master
with:
- token: ${{ secrets.TIZENAPI_GITHUB_TOKEN_FINEGRAINED }}
+ token: ${{ secrets.TIZENAPI_GITHUB_TOKEN }}
issue-number: ${{ steps.pull_request.outputs.number }}
path: Artifacts/api-comp.json