Skip to content

Added a workflow file in a local branch #5

Added a workflow file in a local branch

Added a workflow file in a local branch #5

# workflow for branch development
name: Develop in branch
on:
pull_request:
workflow_dispatch:
jobs:
job1:
name: job1
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Job information
run: |
echo "Workflow triggered in branch '${{ github.ref }}."
echo "Workflow triggered by event '${{ github.event_name }}."
echo "Workflow triggered in branch '${{ github.actor }}."
- name: Message testing
run: |
echo "::debug::This is a debug message."
echo "::notice::This is a notice message."
echo "::warning::This is a warning message."
echo "::error::This is a error message."
- name: Checkout
uses: actions/[email protected]
- name: Lint
uses: devops-actions/[email protected]
- name: Bad Code
run: |
echo "PR title is '${{ github.event.pull_request.title }}'."