Skip to content

new test 2

new test 2 #4

Workflow file for this run

name: Auto test new nginx versions
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight
pull_request_target:
branches: [master, main]
workflow_dispatch:
push:
jobs:
test_nginx_version:
runs-on: ubuntu-22.04
permissions:
actions: read # read secrets
contents: write # Creates a branch
pull-requests: write # Creates a PR
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v4
with:
python--version: '3.x'
- name: Check and Modify
id: run-script
run: echo "NGINX_VERSION_TO_TEST=$(python bin/nginx_dependencies.py)" >> $GITHUB_OUTPUT
- name: Test
run: echo "${{ steps.run-script.outputs.NGINX_VERSION_TO_TEST}}"
- name: Create Pull Request
id: pr
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: "bot/test-nginx-version-$NGINX_VERSION_TO_TEST"
commit-message: "[Test Package Versions Bump]"
delete-branch: true
base: master
title: "[IGNORE] Test new version of NGINX: $NGINX_VERSION_TO_TEST"
reviewers: "DataDog/dd-trace-cpp"
body: |
Test a new release of NGINX