github.com/Axway/agent-sdk@v1.1.101/.github/workflows/axway-gitlab-ci.yml (about)

     1  # This is a basic workflow that is manually triggered
     2  
     3  name: Axway-GitLab-Mirror-CI
     4  
     5  # Controls when the action will run. Workflow runs when manually triggered using the UI
     6  # or API.
     7  on:
     8    push:
     9      branches: [ '**' ]
    10  
    11  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
    12  jobs:
    13    # This workflow contains a single job called "greet"
    14    axway-gitlab-ci:
    15      # The type of runner that the job will run on
    16      runs-on: ubuntu-latest
    17  
    18      # Steps represent a sequence of tasks that will be executed as part of the job
    19      steps:
    20      - uses: actions/checkout@v4
    21  
    22      # Runs a single command using the runners shell
    23      - name: Trigger GitLab mirror pull and CI pipeline
    24        uses: vivekschauhan/gitlab-mirror-and-ci-action@master
    25        with:
    26          args: "https://git.ecd.axway.org/vchauhan/apic_agents_sdk"
    27        env:
    28          GITLAB_HOSTNAME: "git.ecd.axway.org"
    29          GITLAB_USERNAME: "vchauhan"
    30          GITLAB_PASSWORD: ${{ secrets.GITLAB_MIRROR_TOKEN }}
    31          GITLAB_PROJECT_ID: ${{ secrets.GITLAB_PROJECT_ID }}
    32          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}