Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different Attempt on UML Automation #1121

Merged
merged 3 commits into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/uml.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Update the UML Diagrams

on:
pull_request:
pull_request_target:
types: [closed]
branches: [main]
paths:
- "pymc_marketing/**"

jobs:
build:
if: github.event.pull_request.head.repo.owner.login == 'pymc-labs'
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions: write-all
steps:
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
else
echo "Committing the changes"
git commit -m "Update UML Diagrams"
git push origin HEAD:main
git push origin HEAD:${{ github.event.pull_request.base.ref }}
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading