diff --git a/.autorc b/.autorc new file mode 100644 index 0000000..941bd64 --- /dev/null +++ b/.autorc @@ -0,0 +1,11 @@ +{ + "plugins": [ + "git-tag", + "first-time-contributor", + "released" + ], + "owner": "alexchristy", + "repo": "wazuh-pipeline", + "name": "Alex Christy", + "email": "a.christy@ufl.edu" +} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a6340fb --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Create Release + +on: + push: + branches: + - main + + +jobs: + release: + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" + steps: + - uses: actions/checkout@v4 + + - name: Prepare repository + run: git fetch --unshallow --tags + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: '12.x' + + - name: Install Auto and Plugins + run: npm install -g @auto-it/git-tag + + - name: Release with Auto + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: npx auto shipit \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/wazuh_test.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/wazuh_test.yml diff --git a/.gitignore b/.gitignore index 881f3bf..d565b61 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +.env + # Generated log files *.log \ No newline at end of file