REST API endpoints for organization roles #452
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Release1 | |
| on: | |
| pull_request_target: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: release1 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - name: Run configure.py | |
| run: | | |
| python3 configure.py --hostname api.github.com \ | |
| --enterprise-name gm3dmo-enterprise-cloud-testing \ | |
| --org forest-town \ | |
| --repo pwr-release1 \ | |
| --default-repo-visibility public \ | |
| --token ${{ secrets.FORESTPAT }} \ | |
| --repo-webhook-url ${{ vars.WEBHOOK }} \ | |
| --app-configure yes \ | |
| --app-id 1 \ | |
| --app-installation-id 1 \ | |
| --app-private-pem test.pem \ | |
| --app-client-id client_id \ | |
| --team-members "pipcrispy robin-of-loxley roger-de-courcey" \ | |
| --team-admin "roger-de-courcey" \ | |
| --default-committer "pipcrispy" \ | |
| --primer "list-config" \ | |
| --curl_custom_flags '--fail-with-body --no-progress-meter' | |
| - name: Delete repo-release1 | |
| run: | | |
| echo "Deleting repo-release1" | |
| ./delete-repo.sh | |
| - name: Power default testcase | |
| env: | |
| TERM: xterm # Set TERM environment variable | |
| run: | | |
| echo "Running build-testcase" | |
| ./build-testcase |