Skip to content

Commit

Permalink
fix(*): test tag in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed May 27, 2024
1 parent 90648dd commit b83a2d8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- main
- fix/article
tags:
- v*
jobs:
static-scan:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,5 +76,19 @@ jobs:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: hoseacodes-dev
heroku_email: "[email protected]"
release:
needs: [build]
name: Release pushed tag
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} ${tag#v}" \
--generate-notes

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ See [wiki](https://github.com/HoseaCodes/Blog/wiki/Backend) for details.

## Dev Ops

### Pipelines

| Job Name | Use Case |
| ----------------------------------------------------- | ----------- |
| Static-Scan | Static application security testing (SAST) or static code analysis, analyzes source code to find security vulnerabilities that make the organization's applications susceptible to attack. |
| Dependency-Scan | Dependency scanning generates an alert for any open-source component, direct or transitive, found to be vulnerable that the code depends upon. |
| Lint-Scan | Lint scans source code for errors and potential issues that could lead to bugs, vulnerabilities, and other problems. |
| Build | Build and deploying the project. |

See [wiki](https://github.com/HoseaCodes/Blog/wiki/Dev-Ops) for details.

## 3rd Party Packages
Expand Down

0 comments on commit b83a2d8

Please sign in to comment.