►
From YouTube: Working on Global Actions Support - Part 3
Description
Previous session https://youtu.be/Gan8aOvULAs
A
Hey:
what's
up,
it's
me
again:
lukas
asking
api.
It's
a
part,
number
three
of
a
series
of
streams,
I'm
doing
about
the
github
action
that
is
supposed
to
provide
functionality
and
github
actions
for
having
something.
I
call
global
workflows,
so
workflows
that
you
have
in
one
repo
and
you
just
have
to
change
it
in
one
repo
and
then
this
change
is
replicated
populated.
A
So
let's
me
some.
Let
me
summarize
yesterday
and
today,
because
it's
a
second
stream
today.
A
Run
preview
for
myself
on
youtube,
so
I
know
that
how
the
quality
of
the
video
looks
like
because
it
was
pretty
shitty
yesterday,
but
today,
when
I
was
recording
without
my
face
it
got
better,
but
I'm
not
sure
if
it's
really
because
my
face
is
that
bad
or
maybe
or
maybe
the
thing
is.
A
A
But
yeah:
let's,
let's
try
so
let's
share
the
screen.
Next
to
my
photo.
B
A
Wait:
okay.
A
Packages
and
that's
not
what
is
important
here,
so
let
me
just
summarize
by
looking
at
the
diagram,
so
the
solution
is
that
we,
like
that's
a
mvp
solution,
so
without
any
configuration
available
for
the
user.
So
the
easy
solution
is
that
we,
the
action,
gets
triggered
by
push
event.
A
And
we
check
from
the
payload
of
the
event
we
check
at
what
commit
was
done.
With
this
push
event,
then
we
with
github
api.
We
check
details
of
the
comment
to
figure
out
information.
A
A
A
A
So
I
actually
have
the
whole
logic
to
to
check
if
there
were
changes,
copy
them
over
clone
all
the
repository,
etc
and
like
few
hours
ago,
I
managed
to
push
the
changes
to
the
repos.
So
now
I
will
just
work
on
the
pr's
now
before
I
continue.
A
I
see
that
I
have
like
six
six
live
viewers.
So
just
to
sum
up
for
you
folks,
because
like
a
few
minutes
ago,
I
started
no
one.
Was
there,
so
I'm
doing
a
live
stream
about
a
github
action
that
we're
creating
for
async
api
organization,
but
it
will
be
able
anybody
will
be
able
to
use
it
for
their
organizations.
A
A
So
if
you
joined
the
stream
because
you
expected
a
dedicated
stream
about
async,
api
spec
or
some
tooling,
then
just
write
your
questions
in
the
chat.
A
Then
don't
worry
that
I'm
talking
about
the
github
actions
and
don't
worry
that
you
can
like
I
don't
know
like
disturb
me
or
something
I'm
here
to
help
and
answer
questions,
so
you
can
easily
disturb
me
with
questions
about
the
spec
but
yeah.
So
let's
continue
so
the
code
is
pretty
pretty
ugly
because
that's
how
I
approach
coding
some
some
features
so
first
I
just
code.
A
Code
ugly,
so
I
don't
refactor,
I
don't
create
functions.
I
just
make
sure
that
the
code
works.
So
I
discover
apis
and
check
if
my
diagram,
that
I,
like
my
architecture,
diagram
that
I
created,
if
it's,
if
it
makes
sense
or
not
and
then
if
it
makes
sense,
I
was
able
to
code
it
then
there's
time
to
to
refactor
and
start
writing
tests
so
and
and
yeah.
That's
how
it
looks
like
and
that's
why
the
code
is
ugly,
but
that's
that
was
clear
from
the
very
beginning.
A
So
we
are
that's
the
last
line
I
added.
So
we
are
really
able
to
push
to
push
the
change
to
to
the
repository
you
can
see
it.
A
Now
now
what's
next
yeah,
first
of
all,
so
I
don't
forget
during
last
stream.
I
sneaked
my
tokens
to
recording,
of
course
I
removed
them,
but
I
don't
want
to
do
it.
C
A
A
It's
it's
cool
that
we
have
twitch
users
hi
folks,
so
now
the
yeah:
how
to
create
a
pull
request.
A
With
graphql,
because
that's
always
my
preference
right,
I
just
love,
love
graphql,
that's
it
and
simplicity
how
it
can
be
used
with
the
github
client.
A
A
A
A
C
C
C
C
A
A
So
don't
run
away.
I
will
just
quit
the
broadcast
and
join
it
again.
It's
not
going
to
end
when
I
leave.
A
A
A
A
It
screw
it
I'm
just
gonna
zoom
as
much
as
I
can,
okay
back
into
business
back
into
business.
So
I
know
it's
a
create.
We
take
credible
requests,
mutation
and
assign.
A
C
A
A
B
A
A
A
C
B
C
A
A
A
C
A
A
B
A
A
A
A
A
A
A
A
A
A
A
C
A
A
A
A
A
A
B
C
A
C
A
A
A
Okay,
let
me
let
me
just
confirm
to
be
100
percent
sure
that
it's
not
related
to
to
authentication,
even
though
I
don't,
I
really
don't
think
so.
Let
me
sign
in
in
the
explorer.
B
B
A
A
C
C
A
A
And
yes,
of
course,
it's
it's
a
bit
hard
coded
and
it's
for
now
it's
fine!
I'm
gonna
in
another
stream
show
how
to
use
this
api
properly,
but
now
we're
just
gonna
we're
just
gonna
hack
packet,
the
string
just
just
hug,
the
string.
A
A
Oh,
it's
gonna
be
problematic.
I
think
I
mean
I
don't
want
to
think
about
it
now,
especially
that
the
stream
was
not
supposed
to
be
super
long,
but
when
I
will
now
create
those
pr's
in
different
repositories
for
entire
organization,
I'm
gonna
face
an
issue
that
of
course
was
brought
by
introducing
main
branch.
A
A
A
A
A
A
A
A
A
B
A
C
A
A
A
C
A
B
B
A
C
B
A
A
Let's
go
to
branches
okay,
so
the
branch
was
created.
A
B
C
A
A
A
A
A
C
A
C
C
A
C
C
A
A
A
B
A
A
C
C
A
A
A
A
A
A
C
C
B
B
C
B
A
A
Pull
request
and
let's
run
this
beast
again,
so
maybe
it's
yeah
yeah,
maybe
that's.
C
B
C
A
A
C
A
A
So
the
entire
diagram
works.
Now
it's
just
now,
it's
just
time
for
for
refactoring
next
week,
but
basically
it
looks
like
the
the
initial
idea
is.
A
A
A
I
don't
think
it's
actually
mvp,
because
mvp
is
something
you
can
ship
and
this
crap
you
can't
ship,
not
sure.
Yet,
if
next
week
I'm
gonna
continue
with
sessions
about
this
github
action.
A
If
you
want
me
to
continue
because
the
initially
I
was
thinking
only
about
doing
the
brainstorming
life
and
showing
that
the
flow
is
possible,
what
if
you
like
it,
you
want
to
hear,
especially
during
during
the
to
see
the
refactoring,
how
I
use
all
the
different
options
of
github
actions
and
then
testing
github
action.