github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/.github/workflows/package_monitor.yml (about)

     1  name: Auto update for instrumentation packages
     2  run-name: Running job for checking newer packages and updating instrumentation
     3  on:
     4    schedule:
     5      - cron: '0 4 * * *'
     6  jobs:
     7    monitor-update:
     8      runs-on: ubuntu-latest
     9      steps:
    10        - name: Install package
    11          run: |
    12            sudo apt-get -y install jq
    13  
    14        - uses: actions/checkout@v3
    15          name: Checkout repo
    16          with:
    17            fetch-depth: 0
    18            ssh-key: ${{secrets.PRIVATE_KEY_GO_TRACER_RELEASE}}
    19  
    20        - name: Run script to monitor packages and create PR with updated changes
    21          id: verison_updater
    22          run: ./version_updater.sh
    23          shell: bash {0}
    24          env:
    25            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}