diff --git a/.gitea/workflows/add-issue-to-project.yaml b/.gitea/workflows/add-issue-to-project.yaml index 98e3139..e8af0bb 100644 --- a/.gitea/workflows/add-issue-to-project.yaml +++ b/.gitea/workflows/add-issue-to-project.yaml @@ -1,13 +1,15 @@ -name: Adds all issues to project board +name: Move new issues into To Do +on: + issues: + types: [opened] jobs: - add-to-project: - name: Add issue to project + createCard: runs-on: ubuntu-latest steps: - - uses: actions/add-to-project@v0.5.0 - with: - project-url: https://git.byroks.de/MidgardVTT-Entwicklung/-/projects/3 - github-token: ${{ secrets.GH_TOKEN }} - labeled: bug, enhancement - label-operator: OR \ No newline at end of file + - name: Close Issue + run: > + curl -X PATCH -H "Content-Type: application/xml" + -H "Authorization: token ${{ secrets.GITEA_TOKEN }} + -d '{ "state": "To Do" }' + "${{ gitea.event.issue.url }}" \ No newline at end of file diff --git a/source/module/actors/M5Character.ts b/source/module/actors/M5Character.ts index a3bb7cf..218864e 100644 --- a/source/module/actors/M5Character.ts +++ b/source/module/actors/M5Character.ts @@ -242,7 +242,6 @@ export class M5Character extends Actor { calc: item.system.calc, equipped: item.system?.equipped, weight: item.system.weight || 0, - containerId: item.system.containerId || "", value: item.system.value || 0, currency: item.system.currency || "", quantity: item.system.quantity || 0,