Compare commits

...

1 Commits
main ... hcdc3

Author SHA1 Message Date
5e7eccd7d1 Add TOken test workflow 2025-09-25 12:59:26 +00:00
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,19 @@
name: Run HCDC
on:
pull_request:
types: [opened, reopened, synchronize, edited]
jobs:
get-token:
runs-on: ubuntu-latest
steps:
- name: Get OTC token
id: otc
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1
with:
os_username: ${{ secrets.OTC_HCDC_USERNAME }}
os_password: ${{ secrets.OTC_HCDC_PASSWORD }}
os_domain_name: ${{ secrets.OTC_HCDC_DOMAIN_NAME }}
os_project_id: ${{ secrets.OTC_HCDC_PROJECT_ID }}

View File

@ -39,7 +39,6 @@ jobs:
persist-credentials: false persist-credentials: false
token: ${{ gitea.token }} token: ${{ gitea.token }}
- name: Get OTC token - name: Get OTC token
id: otc id: otc
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1 uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1