mirror of
https://github.com/github/codeql-action.git
synced 2025-12-29 10:40:17 +08:00
23 lines
930 B
YAML
23 lines
930 B
YAML
name: "Integration Testing"
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
dispatch-events:
|
|
if: github.event.repository.full_name == 'github/codeql-action'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send repository dispatch events
|
|
run: |
|
|
curl -X POST \
|
|
-H "Authorization: Bearer ${{ secrets.CODEQL_TESTING_TOKEN }}" \
|
|
-H "Accept: application/vnd.github.everest-preview+json" \
|
|
https://api.github.com/repos/Anthophila/amazon-cognito-js-copy/dispatches \
|
|
-d '{"event_type":"codeql-integration","client_payload": {"sha": "${{ github.sha }}"}}'
|
|
|
|
curl -X POST \
|
|
-H "Authorization: Bearer ${{ secrets.CODEQL_TESTING_TOKEN }}" \
|
|
-H "Accept: application/vnd.github.everest-preview+json" \
|
|
https://api.github.com/repos/Anthophila/electron-test-action/dispatches \
|
|
-d '{"event_type":"codeql-integration","client_payload": {"sha": "${{ github.sha }}"}}'
|