Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
086f197
Create main.yml
Xlient Jun 12, 2023
90ee15b
trigger workflow
Xlient Jun 12, 2023
390c933
test 2
Xlient Jun 12, 2023
a583b33
test commit
Xlient Jun 12, 2023
977cd71
test 3
Xlient Jun 12, 2023
bcc725d
test
Xlient Jun 13, 2023
d933087
another test
Xlient Jun 13, 2023
0a6f750
test workflow
Xlient Jun 13, 2023
7cfdefb
test again
Xlient Jun 13, 2023
91a7c96
test again
Xlient Jun 13, 2023
b044775
test job output
Xlient Jun 14, 2023
bb1a8e7
add space
Xlient Jun 14, 2023
953e96b
trivial change
Xlient Jun 15, 2023
8890005
test regular expression
Xlient Jun 15, 2023
c49a5f1
use simple regex
Xlient Jun 15, 2023
96fa04b
test with other wildcard
Xlient Jun 15, 2023
0b493bb
use plus operator
Xlient Jun 15, 2023
dd2ac16
test different expression
Xlient Jun 15, 2023
ac40b52
test with variable
Xlient Jun 15, 2023
4f15f82
test setting env var at beginning of job
Xlient Jun 15, 2023
a75e401
try without double qoutes
Xlient Jun 15, 2023
b333e83
commit 1
Xlient Jun 29, 2023
698d27f
commit 2
Xlient Jun 29, 2023
4f484d3
change we want to trigger an action on
Xlient Jun 29, 2023
be522f1
dummy commit
Xlient Jun 29, 2023
e293012
another dummy commit to test
Xlient Jun 29, 2023
2ccc098
print head commit
Xlient Jun 29, 2023
d787bee
trigger a change
Xlient Jun 29, 2023
7a3e136
another test commit
Xlient Jun 29, 2023
d67e71d
test if gh api will work
Xlient Aug 10, 2023
26b12a3
use correct env name
Xlient Aug 10, 2023
f6b0278
use token for both jobs
Xlient Aug 10, 2023
fa6ccb4
we dont need job1
Xlient Aug 10, 2023
a662712
use gh script action
Xlient Aug 10, 2023
982f814
chg permissions
Xlient Aug 10, 2023
de5e14f
use environment and try to access variables
Xlient Aug 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
pull_request:
paths:
- '**/validator*'
env:
GITHUB_PAT: ''
jobs:

job1:
name: Test
runs-on: ubuntu-latest
env:
PATTERN: '@[a-z0-9]+'
GH_TOKEN: ${{ github.token }}
outputs:
result: ${{ steps.one.outputs.result}}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2

- id: one
run: |
d=$(gh pr diff | grep -E $PATTERN)

echo "$d"
if [[ -n $d ]]; then
echo "result=yes" >> $GITHUB_OUTPUT
else
exit 1
fi

job2:
name: Get and set PAT
runs-on: ubuntu-latest
environment: herald
env:
TEXT: ${{ secrets.FOO }}
steps:
- run: echo $TEXT



1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
## What is TwilioQuest?
TwilioQuest is an educational video game designed to teach a new generation of developers how to change the world with code. TwilioQuest prepares you for real-world programming by helping you configure a local development environment and introducing tools used by professional programmers around the world. From learning how to use your terminal, to coding in Python, JavaScript, and contributing to Open Source projects, TwilioQuest will help you develop practical engineering skills. [Learn more about Twilioquest here](https://www.twilio.com/quest)



## Getting Started
1. Clone this repository into a folder that holds all your twilioquest extension
Expand Down
2 changes: 1 addition & 1 deletion levels/botnet/events.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

module.exports = function(event, world) {


// foobar346

}
5 changes: 3 additions & 2 deletions levels/botnet/objectives/3_first_Csharp_program/validator.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

const { anaylzeAndExcuteCode } = require('../../validation');
//@foobadr54a350qahj89jhfdfd685875asaf4a3asAS
const { anaylzeAndExcuteCode } = require('../../validation');
module.exports = async function (helper) {

try{

const codePath = helper.env.TQ_CSHARP_WORKSPACE_CODE;
const results = await anaylzeAndExcuteCode(codePath,"firstCsharpProgram");

Expand Down
74 changes: 50 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.