chore: world_countries v2.0.2 #398
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pull_requests | |
on: | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
branch-name: | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- name: 🔀 Assert Branch Naming Convention | |
uses: lekterable/[email protected] | |
with: | |
errorMessage: 'Branch name should only contain latin characters, numbers and those symbols: ".", "/", "-", "_" and must start with: `feature/`, `feat/`, `test/`, `tests/`, `fix/`, `bug/`, `chore/`, `deps/`, `ci/`, `build/`, `docs/`, `doc/`, `style/` or `refactor/`.' | |
allowed: /(feature|feat|test|tests|fix|bug|chore|dependabot|deps|ci|build|docs|doc|style|refactor)\/([a-zA-Z0-9_.\/-]*)/ | |
assign: | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
if: ${{ github.event.pull_request.assignee == null && join(github.event.pull_request.assignees) == '' }} | |
steps: | |
- name: ✍🏻 Add Reviewer and Author Assign | |
uses: kentaro-m/[email protected] | |
with: | |
configuration-path: '.github/workflows/config/auto-assign.yaml' | |
pr-title: | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- name: 📰 Lint Pull Request Title | |
uses: amannn/[email protected] | |
with: | |
requireScope: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
auto-approve: | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- name: 🎟️ Approve Dependabot and owner | |
uses: hmarr/[email protected] | |
if: github.actor == 'dependabot[bot]' || github.actor == 'tsinis' | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
pr-labels: | |
runs-on: ubuntu-latest | |
needs: branch-name | |
timeout-minutes: 4 | |
steps: | |
- name: 🏷️ Detect and add label(s) | |
uses: TimonVS/[email protected] | |
with: | |
configuration-path: .github/workflows/config/pr-labels.yaml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |