[Bug]: SQlite Blob columns displayed as hexdump #505
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Roadmap | |
| on: | |
| issues: | |
| types: [labeled, unlabeled, closed, reopened, edited] | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Check actor permission | |
| id: perms | |
| if: github.event.action == 'labeled' && github.event.label.name == 'roadmap' | |
| run: | | |
| PERM=$(gh api repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission --jq '.permission') | |
| echo "permission=$PERM" >> $GITHUB_OUTPUT | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Protect Roadmap Label | |
| id: protect | |
| if: github.event.action == 'labeled' && github.event.label.name == 'roadmap' && !contains(fromJSON('["admin", "write"]'), steps.perms.outputs.permission) | |
| run: | | |
| gh issue edit ${{ github.event.issue.number }} --remove-label "roadmap" | |
| gh issue comment ${{ github.event.issue.number }} --body "The 'roadmap' label is reserved for project maintainers. If you believe this issue should be part of the roadmap, please suggest it in the comments." | |
| echo "unauthorized=true" >> $GITHUB_OUTPUT | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| - name: Setup Node.js | |
| if: steps.protect.outputs.unauthorized != 'true' | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: '20' | |
| - name: Update Roadmap | |
| if: steps.protect.outputs.unauthorized != 'true' && (contains(github.event.issue.labels.*.name, 'roadmap') || github.event.label.name == 'roadmap') | |
| run: npm run roadmap | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Commit and Push changes | |
| if: steps.protect.outputs.unauthorized != 'true' | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| git add roadmap.json README.md | |
| git diff --staged --quiet || (git commit -m "chore: update roadmap [skip ci]" && git push) |