Skip to content

Commit

Permalink
fix: github templates and actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Picoloto committed Dec 13, 2023
1 parent 155ee5b commit 09b9fbf
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
name: Bug
about: Reporte de bugs
title: ''
labels: ''
assignees: ''

---

# Bug

### Descrição
Expand Down
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Nova funcionalidade
about: Reporte de novas funcionalidades
title: ''
labels: ''
assignees: ''

---

# Nova funcionalidade

### Descrição
Descreva detalhadamente a nova funcionalidade.
File renamed without changes.
4 changes: 0 additions & 4 deletions .github/feature_request.md

This file was deleted.

File renamed without changes.
12 changes: 11 additions & 1 deletion .github/workflows/build_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,20 @@ concurrency:
cancel-in-progress: true

jobs:
generate-branch-name:
runs-on: ubuntu-latest
outputs:
branch: ${{ steps.main_step.outputs.branch }}
steps:
- id: main_step
run: |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
call-workflow-cd:
needs:
- generate-branch-name
uses: pagarme/woocommerce/.github/workflows/cd_reusable.yml@master
with:
tag: ${{ GITHUB_REF#refs/heads/ }}
tag: ${{ needs.generate-branch-name.outputs.branch }}
wordpress_image_version: ${{ inputs.wordpress_image_version }}
woocommerce_version: ${{ inputs.woocommerce_version }}
woocommerce_extra_checkout_fields_version: ${{ inputs.woocommerce_extra_checkout_fields_version }}
Expand Down

0 comments on commit 09b9fbf

Please sign in to comment.