Skip to content

Update RHTAP references #56

Update RHTAP references

Update RHTAP references #56

Workflow file for this run

name: update-opc
on:
push:
branches: [ main ]
paths-ignore:
- '**/Dockerfile'
pull_request:
branches: [ main ]
paths-ignore:
- '**/Dockerfile'
schedule:
- cron: "*/30 * * * *" # every 30 minutes
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout the current repo
uses: actions/checkout@v4
- name: Clone openshift-pipelines/opc
uses: actions/checkout@v4
with:
repository: openshift-pipelines/opc
path: opc
- name: Commit new changes
run: |
ls opc/
git config user.name github-actions
git config user.email [email protected]
git checkout -b actions/update/opc
rm -rf opc/.git
git add opc
git commit -m "[bot] Update openshift-pipelines/opc"
git push -f origin actions/update/opc
- name: Create pull request
run: gh pr create -B main -H actions/update/opc --title "[bot] Update openshift-pipelines/opc" --body "Auto-generated pull request by GitHub actions"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}