🐞 QPS GitHub Action uses writeable directory

Fixes, when running action:

```
cat > qps.json << EOF
  cat > qps.json << EOF
  {
    "schemaVersion": 1,
    "label": "Queries / second",
    "message": "24795",
    "color": "blue"
  }
  EOF
  shell: /usr/bin/bash -e {0}
/home/runner/actions-runner/_work/_temp/7bddadaf-e164-4672-b1e9-1ab8705e6bda.sh: line 1: qps.json: Permission denied
Error: Process completed with exit code 1.
```
This commit is contained in:
Brian Cunnie
2025-08-05 07:17:39 -07:00
parent 290c4fbe9a
commit 97841a5f7f

View File

@@ -27,7 +27,7 @@ jobs:
- name: Create QPS JSON file - name: Create QPS JSON file
run: | run: |
cat > qps.json << EOF cat > /tmp/qps.json << EOF
{ {
"schemaVersion": 1, "schemaVersion": 1,
"label": "Queries / second", "label": "Queries / second",
@@ -41,4 +41,4 @@ jobs:
with: with:
token: ${{ secrets.GIST_TOKEN }} token: ${{ secrets.GIST_TOKEN }}
gist_id: 67dc2a78c9ac6032db05027727c63ea1 gist_id: 67dc2a78c9ac6032db05027727c63ea1
file_path: qps.json file_path: /tmp/qps.json