Compare commits

..

1 Commits
hcdc3 ... hcdc4

Author SHA1 Message Date
83f4395943 Switch PR target for hcdc secrets 2025-09-25 13:08:48 +00:00
2 changed files with 6 additions and 20 deletions

View File

@ -1,19 +0,0 @@
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

@ -1,9 +1,13 @@
name: Run HCDC
on:
pull_request:
pull_request_target:
types: [opened, reopened, synchronize, edited]
permissions:
contents: read
pull-requests: write
jobs:
run-hcdc:
runs-on: ubuntu-latest
@ -39,6 +43,7 @@ jobs:
persist-credentials: false
token: ${{ gitea.token }}
- name: Get OTC token
id: otc
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/get-otc-token@v1