►
From YouTube: Working on Global Actions Support - Part 2
Description
The first part is here https://youtu.be/3mPJEZml_5I
A
Hey
again
on
this
on
the
live
stream.
It's
me
joker,
I'm
from
massing
api.
I'm
gonna
continue
a
topic.
I
started
yesterday,
so
it's
a
work
on
a
github
action
that
is
supposed
to
introduce
a
global
actions
in
the
organization,
so
you
can
just
edit
one
action
in
one
repo
and
then
it
the
change
to
the
workflow
workflow
file
is
replicated
to
all
the
other
repo's.
A
B
A
A
Be
easy
for
me
to
find
it,
so
I
check
the
video
and
the
quality
sucks.
I
mean
it's
720
if
it
comes
to
the
quality,
so
it's
hd
right,
I
think,
but
it
sucks,
I
mean
like
it
sucked
during
the
the
stream.
A
It's
not
really
visible
so
today
we're
gonna
do
a
a
stream
with
just
a
a
sharing
of
of
just
my
my
my
desktop
right.
So
my
face
will
simply
just
vanish
from
the
chair.
C
A
C
B
B
A
A
C
B
A
A
A
Okay,
so
I'm
gonna
keep
on
the
on
on
another
screen:
a
preview
of
of
the
quality
on
youtube,
at
least
so
from
time
to
time.
I'm
gonna,
I'm
gonna,
have
a
look,
how
it
looks
like.
A
Now
I
also
because
of
yesterday,
if
you
joined
yesterday,
you
know
that
at
some
point
of
time
the
quality
of
the
audio
got
really
bad.
So
now,
I'm
also
now
real
time.
Listening
to
to
what
I
say
so,
I
will
also
know
about
the
decrease
in
the
quality
at
the
same
time
as
you
actually
sooner
than
you
because
of
delay
on
your
side.
A
Okay,
so
that's
it
if
it
comes
to
introduction
so
for
those
that
did
not
watch
the
the
stream
yesterday.
A
I
already
have
a
a
test
organization
and
a
test
github
account
where
I
can
play
with
the
action
real
time
make
changes
so
on
the
left.
You
can
see
that
I
have
a.
A
I
have
my
lucas
lab
org
and
I
have
repo
there
where
I
already
use
my
like
super
initial
version
of
the
of
the
action,
so
we
can
really
check
how
it
how
the
action
works
in
a
real
workflow
in
real
repo
in.
D
A
So
if
it
comes
to
code,
we
yeah-
I
refreshed
my-
I
refreshed
my
knowledge
a
bit,
so
we
are
already
reading
the
github
token
we're
using
two
libraries
from
github
actions,
so
github
and
core,
and
we
are
already
able
to
read
the
event
payload,
the
payload
of
the
event
that
triggered
the
action
and
grabbed
the
id
of
the
comet
and
then
using
the
id
of
the
commit.
A
About
about
the
comment,
so
you
can
see
it
here
in
the
console
log
and
we
learned
actually,
we
confirmed
because
we
learned
from
the
docs
that
we
have
access
when
we
read
details
of
the
commit
we
have
access
to
a
to
a
property
files
in
which
we
have
access
to
ira
of
objects
that
have
information
about
certain
file,
name.
That
was
modified
during
the
in
the
comment,
which
is
super
cool,
because
that's
how
we
can
learn
if
current,
if,
if
a
specific
commit
touched
some
parts
of
the
workflows.
A
A
Goes
right,
so
I'm
the
first,
I'm
always
doing
minimum.
That's
why
you
can
see
that
it's,
for
example,
a
hard
code
that
here
that
I'm
just
reading
always
the
first.
The
idea
of
the
first
comment
from
the
list,
because
now
my
assumption
is
especially
with
the
tests
when
I
will
do
the
tests
in
a
real
workflow,
I'm
not
gonna,
create
pull
requests
and
with
several
comments
and
merge
them.
I'm
always
gonna
create
one
comment,
especially
that
I'm
used
to
a
workflow
where
you
squash
and
merge.
So
we
always
have
just
one
comment.
A
So
yeah
here,
there's
a
work,
there's
a
hard
code,
but
of
course
that's
something
to
improve
later.
It
doesn't
really
matter
at
the
moment.
First
of
all,
it's
let's
just
confirm
the
diagram
and
for
those
again
who
didn't
join
last
time,
the
diagram,
what
diagram?
So
let
me
actually
update
the
diagram,
because
yesterday
I
just
noticed
that
there
was
a
bug
in
the
diagram.
A
A
A
A
Okay,
that's
the
so
that's
basically
the
diagram,
so
the
super
simple
one,
nothing
sophisticated,
it's
just
rather
to
to
visualize
steps
that
have
to
be
implemented.
So
yesterday
we
basically
did
this
right.
A
I
mean
not
fully
because
the
assumption
of
the
first
step
is
that
we
we
either
by
default,
react
on
any
change
in
the
workflows
directory,
but
there
might
be
a
use
case
and
there
is
use
case
that
you
don't
want
to
react
on
any
change
in
any
workflow
file,
because
you
might
have
a
use
case
that
not
all
workflows
in
dot
github,
slash
workflows
are
global.
A
How
come
so
like
look
on
this
example
that
we're
working
on
right.
So
the
assumption
is
that
dot,
github
repo
is
global,
containing
global
workflows.
So
we
have
an
action
that
runs
in
this
repo,
but
it's
also
a
workflow.
A
A
A
So
I'd
like
to
have
a
kind
of
configuration
that
in
the
github
action
I
can
not
only
pass
a
github
token,
but
I
can
also
pass
a
list
of
paths
including
file
names
or
to
the
workflows
that
that.
A
Should
be
yeah
replicated
or
action
should
react
on
now
it's
a
matter
of
of
a
of
decision
and
I'm
still
struggling.
A
If
which
is
the
best,
probably,
I
will
end
up
implementing
both,
but
if
that
should
be
a
list
of
files
that
you
want
workflow
to
handle,
or
should
that
be
a
list
of
ignored
files
that
workflow
should
ignore
so
for
for
this
use
case,
for
this
particular
example
that
we're
working
on
here,
obviously
the
best
is
the
ignore,
because
I
just
have
to
provide
this
global
workflow
path
in
the
configuration
and
that's
it,
but
I
guess
there
might
be
workflows
where
you
have
more
files
to
be
ignored
than
the
ones
that
you
want
action
to
handle.
A
A
Most
important
in
my
opinion
is
really
make
sure
all
the
all
the
squares
are
are
like
showcased.
How
do
you
call
it
vip?
A
No,
not
vip.
I
whip
not
not
whip,
damn
it.
I
lost
words.
How
do
you
call
it
mvp,
yeah,
let's,
let's
say
mvp
right
so
minimum
viable
product?
A
I
guess
that's
it.
That's
the
word
so
yeah.
A
A
Okay,
I'm
not
destructuring
that
often
so
I
don't
remember,
but
will
it
work
this.
A
B
A
A
A
A
That's
how
it's
done
the
structuring
block
rocks.
So
now
I
have
the.
I
know
how
to
access
the
area
of
files.
A
B
A
Okay,
so
we're
able
to
verify
if
it's
if
it
includes.
A
C
A
A
A
A
So
we
here
we're
gonna
use
my
beloved
github
graphql
api,
but
just
give
me
a
second
for
a
break.
Let
me
check
what's
happening
at.
A
A
A
D
B
C
B
A
C
A
A
B
B
A
How
was
it
supposed
to
be
used?
Let
me
just
quickly
back
up
myself.
A
B
A
A
Graphql
so
with
when
using
octokid
with
rest,
that's
basically
how
it
looks
like
the
usage,
so
you
go
to
rest
api
documentation
and
you
think
you're
gonna
use
it
really
easily
with
the
client.
But
now
the
api
is
pretty
specific
at.
If
you
I
I
I
mean
I
I'm
not
saying
I
don't
like
it,
because
I
think
it's
actually
pretty.
A
A
So
you
have
a
of
course.
You
set
up
a
client
just
like
we
sorry
for
jumping
just
like
we
do.
C
A
A
B
D
A
A
B
B
A
A
A
Damn
it,
which
is
interesting,
so
I
could.
A
B
A
A
B
A
Know
what's
the
problem,
let
me
write
down
all
those
current
limitations
that
will
have
to
be
addressed
later.
A
A
That's
why
basically
doesn't
work,
because
the
I'm
calling
the
organizations
query
which
lucas
lab
is
not
an
organization.
It's
a
it's
an
account.
It's
a
normal
account.
It's
not
an
organization.
A
Okay,
but
that's
not
a
problem
now,
as
I
say
like
I
said,
we're
now,
just
exploring
these
steps
and
what
like
the
meat
and
the
basic
codes
that
we
need,
so
we
so
we
were
able
to
okay.
We
know
that
we,
the
workflow
the
changes
in
the
repo,
were
in
the
files
from
github
workflows.
A
B
A
A
And
in
the
readme,
let's
just
write
for
now,
we
are
hard
coded
to
use
just
user
to
support.
A
A
B
A
B
A
A
B
A
A
A
A
A
B
A
For
for
playing
with
git
to
to
have
the
functionality
to
to
clone
create
branch.
A
A
That
the
output
directory
that
you
selected
for
generator-
if
so
I
check,
if
it's
a
git
repo
or
not
so
by
default,
you
cannot
output
generation
to
a
git
repo
to
not
override
your
work.
A
A
A
Mobility
code
from
my
your
project
I
worked
on
so
I
already
have.
I
don't
need
to
spend
time
now
on
exploring
the
the
api
behind
the
the
simple
git,
because
I
already
have
a
function
to
create
a
branch
and
to
to
clone
the
repository.
A
A
A
B
A
A
So,
there's
a
what
I'm
doing
here,
I'm
using
a
a
function
from
fs
package,
but
the
the
async,
the
one
that
supports
us
in
kuwait.
A
A
A
A
C
A
A
C
C
A
I
think
it's
going
to
be
handy,
so
the
the
branch
name
will
contain
the
id
of
the
of
the
comet,
that
of
the
comet
that
in
the
github
and
dot
github
repo
triggered
the
the
workflow
and
the
whole
cycle.
A
But
for
now
it
can
be
just
called
like
this
I'll.
Just
I'm
just
checking
my
notes,
simple.
B
C
A
A
A
D
A
I
use
this
ver.
This
function.
A
That
I
already
have
in
the
tools,
so
it's
you
need
to
pass
the.
B
B
A
A
So,
let's
make
a
small
change
here:
yeah,
let's
test
it
in
the
api.
B
A
A
B
C
B
A
B
A
A
Okay,
let
me
go
to
another
terminal
window
and
just
make
sure
that
it's
a
there's
a.
A
Then
the
proper
branch
is
created,
so
where
are
we
with
the
diagram
clone
all
repos
and
create
new
branch?
Checked
copy
changes
over
to
the
same
location
in
cloned.
A
A
Okay,
so
we
need
to
grab
the
file
that
was
changed.
We
know
what
file
was
changed.
A
A
A
A
A
A
A
D
A
Reading
files
content
it's
for
reading
the
content,
I
don't
need
this
at
all.
Okay,
so
I
need
some
package.
A
I
don't
do
operations
on
file
system
too
often,
don't
remember
how
to
is
there
some?
Is
it
part
of
fs.
A
A
A
A
A
A
A
A
A
A
I
mean
we're
not
gonna
jump
in
the
loop,
because
if
we
will
not
pick
up
the
change,
I
mean
if
there
will
be
no
really
change
and
we
will
copy
something,
but
git
will
not
pick
up
the
change.
Then
we
won't
be
able
to
push
it.
So
it's
not
a
loop,
but
anyway
it
sucks.
I
mean,
what's
the
point
of
doing
it,
so
we
should
later
on.
I
should
add
a
a
some
statement
that
in
case
it's,
the
repo
is
called
the
same
as
the
repo
in
which
the
action
runs.
C
A
A
B
A
C
A
C
B
B
B
B
B
A
C
A
A
B
A
A
B
A
A
A
A
A
B
A
C
A
C
C
B
A
B
B
B
A
B
B
B
B
B
B
It's
it
has
to
be
a
full
path.
It's
like
this
has
to
be
done
as
well.
B
A
B
A
B
B
B
A
B
B
D
C
A
C
B
A
B
A
A
A
C
C
A
A
C
A
A
C
B
B
B
B
B
B
Is
that
okay.
A
C
D
B
C
A
A
A
A
A
C
A
C
C
A
Strange,
I'm
gonna
just
have
to
google
it
a
bit,
but
now
it's
second
hour
of
the
stream
and
after
I
read
the
message
that
jonas
had
lunch.
I
got
hungry.
A
So
yeah
short
break.
A
D
A
Which
is
fine
going
back
to
business
so,
while
eating.
A
With
api
that
is
not
well
described
and
documented,
so
I
will
just
use:
there's
a
package
pretty
well
known
and
used
fs
extra,
which
is
much
more
sophisticated,
that
default
fs,
and
this
is
a
github
action.
We
don't
care
that
much
about
the
about
about
the
size,
the
dependencies
graph
and
and
the
performance
right
I
mean
how
much
did
performance
can
change
with
custom
package,
especially
with
such
a
popular
package.
So
let's
install
save
this
extra.
C
A
B
A
A
A
Yes,
oh
that's
simple
as
simple
as
that:
okay!
So
let's,
let's
do.
A
A
A
It's
a
long
story,
I'm
not
gonna,
say
it.
I'm
not
gonna
tell
it
to
you,
it's
really.
It's
really
long
story,
but
anyway
we
were
doing
it's
as
old
assassin
api.
A
A
A
A
That's
cool!
It's
still
there!
That's
why
it's
it's
taking
so
much
time,
because
it's
typical
a
static
site,
a
huge
amount
of
html
generated
anyway,.
A
A
A
B
A
A
I
think
it's
for
sure
the
github
one.
A
A
A
A
A
C
A
A
Oh,
it's
stop
it!
Okay,
so
you
can
hear
a
bit,
but
I
don't
think
it's
that
annoying.
If
it's
super
annoying
just
let
me
know:
okay,
we're
gonna,
do
git
push.
A
B
A
A
A
A
A
B
A
A
A
Cool,
I
don't
like
reading
docs
on
npm.
I
don't
know
why
I
prefer.
I
definitely
prefer
this
view
so
going
back.
B
C
B
A
That's
how
you
add,
all
noise?
That's
noise,
just
copy.
C
A
A
C
C
A
A
A
A
C
C
A
A
C
C
B
A
A
A
B
A
A
A
A
A
A
A
A
B
B
B
A
A
B
A
B
B
A
B
B
A
A
B
A
A
A
A
B
B
B
D
C
A
Thank
you.
At
least,
you
gave
me
more
details.
C
A
B
B
C
B
B
C
D
C
C
A
B
B
A
C
C
B
B
B
B
B
B
A
B
B
A
A
B
B
A
B
B
B
B
A
A
A
A
B
A
It,
but
actually
that's
fine,
that's
fine!
That's
totally
fine!
So
we
get
an
array
here
now,
with
this
array
we
pick
up.
A
A
A
A
D
C
B
A
D
A
A
You
can
see
because
this
beast
is
calling
out
the
logging
out
the
token.
So
sorry,
my
cool
power,
I
don't
want
you
to
see
it.
A
A
A
A
Before
I
finish,
let
me
pick
it
up
because
my
wife
is
calling
no.
He.
A
A
A
A
Where
is
this,
I
had
this
test
fake
event,
yeah.
A
B
A
Crap,
that's
that's
fine!
Okay,
so
I
just
wanted
to
change
it
now,
because
next
time
I'm
gonna
run
it
into
hours.
I
will
of
course
forget
about
it
and
I'm
gonna
think.
I
think
why
I'm
getting
errors
if
at
the
end,
I
am
everything
worked
before
so
now.
I
at
least
have
a
have
assurance
that
next
time
I
run
it,
a
new
branch
name
will
be
created,
okey
dokey,
so
yeah.
A
Let
me
show
my
face
at
the
end.
That's
how
a
human
looks
lying
after
almost
four
hours
live
stream,
I'm
so
wasted
thanks
for
being
with
me.
If
you
were
so,
we
can
see
we're
pretty
close
with
the
to
finish.
The
action.