pr-pull.yaml 717 B

123456789101112131415161718192021222324252627
  1. name: Pull Request
  2. run-name: ${{ github.event.pull_request.title }} pull request run 🚀
  3. on:
  4. workflow_dispatch:
  5. pull_request:
  6. paths-ignore:
  7. - '**.md'
  8. branches: [master, main]
  9. types: [ opened, synchronize, reopened ]
  10. permissions:
  11. contents: read
  12. concurrency:
  13. group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
  14. cancel-in-progress: true
  15. jobs:
  16. check-format:
  17. name: Check Formatting 🔍
  18. uses: ./.github/workflows/check-format.yaml
  19. permissions:
  20. contents: read
  21. build-project:
  22. name: Build Project 🧱
  23. uses: ./.github/workflows/build-project.yaml
  24. secrets: inherit
  25. permissions:
  26. contents: read