Skip to content

Commit

Permalink
ci: 👷 update github issue/pull request templates & workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-gss committed Jan 9, 2025
1 parent 60ba58e commit 16f590b
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
name: 🐛 Bug Report
description: File a bug report.
title: "[SIDE] - Title"
title: "Title"
labels: ["type: bug", "status: todo"]
assignees:
- alexis-gss
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Feature request
name: Feature request
description: Suggest an idea for this project.
title: "Title"
labels: ["type: enhancement", "status: todo"]
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Question
name: 💬 Question
description: Ask your question.
title: "Title"
labels: ["type: question"]
Expand Down
30 changes: 30 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--- Please provide a general summary of your changes in the title above -->

## Pull request type

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed -->

Please check the type of change your PR introduces:

- ✅/❌ - 🐛 Bug Report
- ✅/❌ - ✨ Feature request
- ✅/❌ - 👀 Other (please describe):

## What is the current behavior?

<!-- Please describe the current behavior that you are modifying, or link to a relevant issue -->

Issue Number: #

## What is the new behavior?

<!-- Please describe the behavior or changes that are being added by this PR -->

-
-
-

## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change -->

18 changes: 5 additions & 13 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@ name: Github actions deployment

on:
push:
branches:
- "master"
branches: [master]

jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y curl jq sshpass openssh-client
- name: Pull over SSH
run: sshpass -p ${{ secrets.OVH_SSH_PASSWORD }} ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oLogLevel=quiet ${{ secrets.OVH_SSH_USERNAME }}@${{ secrets.OVH_SSH_HOST }} -p ${{ secrets.OVH_SSH_PORT }} -- 'cd ${{ secrets.OVH_WEBSITE_DOCUMENTROOT }} && git pull origin master'
deployment:
name: Deployment production
uses: alexis-gss/github-workflows/.github/workflows/deployment.yml@master
secrets: inherit

0 comments on commit 16f590b

Please sign in to comment.