From 9332101f8ef8efefe52cbd86f13cccfc9ccfc3ce Mon Sep 17 00:00:00 2001 From: BSData-bot <40243916+BSData-bot@users.noreply.github.com> Date: Fri, 12 Jul 2024 13:46:49 +0200 Subject: [PATCH] Initial commit --- .gitattributes | 6 +++++ .github/workflows/chatops.yml | 20 ++++++++++++++++ .github/workflows/ci.yml | 18 +++++++++++++++ .github/workflows/publish-catpkg.yml | 13 +++++++++++ .gitignore | 20 ++++++++++++++++ README.md | 34 ++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/workflows/chatops.yml create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/publish-catpkg.yml create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..53a53d2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# Set default behavior to automatically normalize line endings. +* text=auto + +# BattleScribe files always have LF +*.cat text eol=lf +*.gst text eol=lf diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml new file mode 100644 index 0000000..46d9f6c --- /dev/null +++ b/.github/workflows/chatops.yml @@ -0,0 +1,20 @@ +# For details and description, see https://github.com/BSData/chatops +name: ChatOps +on: + issue_comment: + types: [created] +jobs: + dispatch: + runs-on: ubuntu-latest + if: startsWith(github.event.comment.body, '/') + steps: + - name: Checkout ChatOps repo + uses: actions/checkout@v3 + with: + repository: BSData/chatops + path: chatops + - name: /command dispatch + uses: peter-evans/slash-command-dispatch@v3 + with: + token: ${{ secrets.SLASH_COMMAND_DISPATCH_TOKEN }} + config-from-file: chatops/commands.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e0ec4c0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +# This action continuously checks all pushes and Pull requests +# for validity, integrity and bugs in datafiles. +# For details, visit https://github.com/BSData/check-datafiles +name: CI +on: [ push, pull_request ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: BSData/check-datafiles@v1 + id: check + + - uses: actions/upload-artifact@v1 + with: + name: artifact + path: ${{ steps.check.outputs.staging-path }} diff --git a/.github/workflows/publish-catpkg.yml b/.github/workflows/publish-catpkg.yml new file mode 100644 index 0000000..95af53d --- /dev/null +++ b/.github/workflows/publish-catpkg.yml @@ -0,0 +1,13 @@ +# This workflow adds the necessary assets to every release +# For more details, visit https://github.com/BSData/publish-catpkg +name: Publish catpkg +on: + release: + types: [ published, edited ] +permissions: write-all +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: BSData/publish-catpkg@v1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d50b6d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Ignore everything +* + +# Don't ignore .git* files +!.gitignore +!.gitattributes + +# Don't ignore catalogues and game system +!*.cat +!*.gst + +# Don't ignore docs +!*.md + +# Don't ignore github files +!/.github +!/.github/** + +# Don't ignore .yml for CI build definitions +!*.yml diff --git a/README.md b/README.md new file mode 100644 index 0000000..0368097 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +Template Data Repo +================== + +[![Latest release](https://img.shields.io/github/release/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/releases/latest) +[![Commits (since latest release)](https://img.shields.io/github/commits-since/BSData/TemplateDataRepo/latest.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/releases) +[![Open bugs](https://img.shields.io/github/issues/BSData/TemplateDataRepo/bug.svg?style=flat-square&label=bugs)](https://github.com/BSData/TemplateDataRepo/issues?q=is%3Aissue+is%3Aopen+label%3Abug) +[![Contributors](https://img.shields.io/github/contributors/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/graphs/contributors) +[![Commit activity the past year](https://img.shields.io/github/commit-activity/y/BSData/TemplateDataRepo.svg?style=flat-square)](https://github.com/BSData/TemplateDataRepo/pulse/monthly) + +[![Chat on Discord](https://img.shields.io/discord/558412685981777922.svg?logo=discord&style=popout-square)](https://www.bsdata.net/discord) + +## Overview ## + +__What's this?__ + +BSData organisation created this project. It's a GitHub repository of datafiles. +Maintained by community, in no way endorsed by BattleScribe or any other company/publisher. If you want +to develop - cool! We need you! Take a look at [our homepage][BSData.net] + +__Okay, nice project. Is it actually working?__ _I just want those files..._ + +Yeah! We have it hosted on AppSpot. Take a look: [BattleScribe Data on Appspot][] + +__I found a bug!__ / *I have another request* + +Great, thank you! Please [Report a bug][bug report] - you can also suggest enhancements and raise other issues there. + +## Links ## + +* [BSData organization homepage][BSData.net] +* [BattleScribe app homepage](https://www.battlescribe.net/) + +[BSData.net]: https://www.bsdata.net/ +[bug report]: https://github.com/BSData/TemplateDataRepo/issues/new/choose