mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 07:36:54 +08:00
🐞 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:
4
.github/workflows/qps.yml
vendored
4
.github/workflows/qps.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- name: Create QPS JSON file
|
||||
run: |
|
||||
cat > qps.json << EOF
|
||||
cat > /tmp/qps.json << EOF
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"label": "Queries / second",
|
||||
@@ -41,4 +41,4 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.GIST_TOKEN }}
|
||||
gist_id: 67dc2a78c9ac6032db05027727c63ea1
|
||||
file_path: qps.json
|
||||
file_path: /tmp/qps.json
|
||||
|
Reference in New Issue
Block a user